OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SyncedSession
(Results
1 - 22
of
22
) sorted by null
/external/chromium_org/chrome/browser/sync/glue/
synced_session.h
25
struct
SyncedSession
{
41
SyncedSession
();
42
~
SyncedSession
();
64
case
SyncedSession
::TYPE_WIN:
66
case
SyncedSession
::TYPE_MACOSX:
68
case
SyncedSession
::TYPE_LINUX:
70
case
SyncedSession
::TYPE_CHROMEOS:
72
case
SyncedSession
::TYPE_OTHER:
74
case
SyncedSession
::TYPE_PHONE:
76
case
SyncedSession
::TYPE_TABLET
[
all
...]
synced_session.cc
14
SyncedSession
::
SyncedSession
() : session_tag("invalid"),
18
SyncedSession
::~
SyncedSession
() {
22
sync_pb::SessionHeader
SyncedSession
::ToSessionHeader() const {
31
case
SyncedSession
::TYPE_WIN:
34
case
SyncedSession
::TYPE_MACOSX:
37
case
SyncedSession
::TYPE_LINUX:
40
case
SyncedSession
::TYPE_CHROMEOS:
43
case
SyncedSession
::TYPE_PHONE
[
all
...]
session_sync_test_helper.h
19
struct
SyncedSession
;
35
const
SyncedSession
& session);
synced_session_tracker.h
22
// Class to manage synced sessions. The tracker will own all
SyncedSession
25
// Note:
SyncedSession
objects are created for all synced sessions, including
36
// the local session object).
SyncedSession
ownership remains within the
39
bool LookupAllForeignSessions(std::vector<const
SyncedSession
*>* sessions)
64
bool LookupLocalSession(const
SyncedSession
** output) const;
66
// Returns a pointer to the
SyncedSession
object associated with
68
//
SyncedSession
remains within the SyncedSessionTracker.
69
SyncedSession
* GetSession(const std::string& session_tag);
202
typedef std::map<std::string,
SyncedSession
*> SyncedSessionMap;
225
// Value:
SyncedSession
object pointer
[
all
...]
synced_session_tracker_unittest.cc
23
SyncedSession
* session1 = tracker.GetSession("tag");
24
SyncedSession
* session2 = tracker.GetSession("tag2");
40
SyncedSession
* session = tracker.GetSession("tag");
49
SyncedSession
* session = tracker.GetSession("tag");
58
std::vector<const
SyncedSession
*> sessions;
127
SyncedSession
* session = tracker.GetSession(tag1);
128
SyncedSession
* session2 = tracker.GetSession(tag2);
129
SyncedSession
* session3 = tracker.GetSession(tag3);
159
std::vector<const
SyncedSession
*> sessions;
247
SyncedSession
* session1= tracker.GetSession(tag1)
[
all
...]
synced_session_tracker.cc
25
std::vector<const
SyncedSession
*>* sessions) const {
32
SyncedSession
* foreign_session = i->second;
35
for (
SyncedSession
::SyncedWindowMap::const_iterator iter =
60
for (
SyncedSession
::SyncedWindowMap::const_iterator window_iter =
107
bool SyncedSessionTracker::LookupLocalSession(const
SyncedSession
** output)
118
SyncedSession
* SyncedSessionTracker::GetSession(
120
SyncedSession
* synced_session = NULL;
125
synced_session = new
SyncedSession
;
139
SyncedSession
* session = iter->second;
141
delete session; // Delete the
SyncedSession
object
[
all
...]
session_sync_test_helper.cc
52
const
SyncedSession
& session) {
54
ASSERT_EQ(
SyncedSession
::TYPE_LINUX, session.device_type);
64
SyncedSession
::SyncedWindowMap::const_iterator map_iter =
/external/chromium_org/chrome/browser/sync/test/integration/
sessions_helper.h
21
typedef std::vector<const browser_sync::
SyncedSession
*> SyncedSessionVector;
22
typedef browser_sync::
SyncedSession
::SyncedWindowMap SessionWindowMap;
66
bool CompareSyncedSessions(const browser_sync::
SyncedSession
* lhs,
67
const browser_sync::
SyncedSession
* rhs);
69
// Sort a
SyncedSession
vector using our custom
SyncedSession
comparator.
120
bool GetLocalSession(int index, const browser_sync::
SyncedSession
** session);
125
// to the session tag within the
SyncedSession
we plan to delete.
sessions_helper.cc
59
bool GetLocalSession(int index, const browser_sync::
SyncedSession
** session) {
67
const browser_sync::
SyncedSession
* local_session;
197
const browser_sync::
SyncedSession
* local_session;
238
const browser_sync::
SyncedSession
* local_session;
267
bool CompareSyncedSessions(const browser_sync::
SyncedSession
* lhs,
268
const browser_sync::
SyncedSession
* rhs) {
/external/chromium_org/chrome/browser/sync/
open_tabs_ui_delegate.h
28
// Builds a list of all foreign sessions. Caller does NOT own
SyncedSession
32
std::vector<const
SyncedSession
*>* sessions) = 0;
45
// NOT own
SyncedSession
objects.
53
virtual bool GetLocalSession(const
SyncedSession
** local) = 0;
/external/chromium_org/chrome/browser/android/
foreign_session_helper.cc
34
using browser_sync::
SyncedSession
;
77
bool ShouldSkipSession(const browser_sync::
SyncedSession
& session) {
78
for (
SyncedSession
::SyncedWindowMap::const_iterator it =
118
const
SyncedSession
& session,
120
for (
SyncedSession
::SyncedWindowMap::const_iterator it =
207
std::vector<const browser_sync::
SyncedSession
*> sessions;
226
const browser_sync::
SyncedSession
&session = *(sessions[i]);
foreign_session_helper.h
20
struct
SyncedSession
;
/external/chromium_org/chrome/browser/ui/toolbar/
recent_tabs_sub_menu_model.cc
75
bool SortSessionsByRecency(const browser_sync::
SyncedSession
* s1,
76
const browser_sync::
SyncedSession
* s2) {
432
std::vector<const browser_sync::
SyncedSession
*> sessions;
447
const browser_sync::
SyncedSession
* session = sessions[i];
562
browser_sync::
SyncedSession
::DeviceType device_type) {
565
case browser_sync::
SyncedSession
::TYPE_PHONE:
569
case browser_sync::
SyncedSession
::TYPE_TABLET:
573
case browser_sync::
SyncedSession
::TYPE_CHROMEOS:
574
case browser_sync::
SyncedSession
::TYPE_WIN:
575
case browser_sync::
SyncedSession
::TYPE_MACOSX
[
all
...]
recent_tabs_sub_menu_model.h
109
browser_sync::
SyncedSession
::DeviceType device_type);
recent_tabs_builder_test_helper.cc
224
std::vector<const browser_sync::
SyncedSession
*> sessions;
/external/chromium_org/chrome/browser/extensions/api/sessions/
sessions_api.h
22
struct
SyncedSession
;
65
const browser_sync::
SyncedSession
* session);
sessions_api.cc
62
bool SortSessionsByRecency(const browser_sync::
SyncedSession
* s1,
63
const browser_sync::
SyncedSession
* s2) {
343
const browser_sync::
SyncedSession
* session) {
354
for (browser_sync::
SyncedSession
::SyncedWindowMap::const_iterator it =
378
std::vector<const browser_sync::
SyncedSession
*> sessions;
/external/chromium_org/chrome/browser/sync/sessions/
sessions_sync_manager.cc
148
SyncedSession
* current_session = session_tracker_.GetSession(local_tag);
393
const
SyncedSession
* session = NULL;
407
SyncedSession
::SyncedWindowMap::const_iterator win_iter;
434
const
SyncedSession
* * local_session) {
519
std::vector<const
SyncedSession
*>* sessions) {
575
SyncedSession
* foreign_session =
582
// Load (or create) the
SyncedSession
object for this client.
654
SyncedSession
* session_header) {
660
session_header->device_type =
SyncedSession
::TYPE_WIN;
663
session_header->device_type =
SyncedSession
::TYPE_MACOSX
[
all
...]
sessions_sync_manager.h
121
std::vector<const
SyncedSession
*>* sessions) OVERRIDE;
129
virtual bool GetLocalSession(const
SyncedSession
* * local_session) OVERRIDE;
256
SyncedSession
* session_header);
sessions_sync_manager_unittest.cc
324
SyncedSession
session;
329
ASSERT_EQ(
SyncedSession
::TYPE_WIN, session.device_type);
341
SyncedSession
* session = manager()->session_tracker_.GetSession(tag);
837
std::vector<const
SyncedSession
*> foreign_sessions;
[
all
...]
/external/chromium_org/chrome/browser/ui/webui/ntp/
foreign_session_handler.cc
49
bool SortSessionsByRecency(const
SyncedSession
* s1, const
SyncedSession
* s2) {
232
std::vector<const
SyncedSession
*> sessions;
251
const
SyncedSession
* session = sessions[i];
267
for (
SyncedSession
::SyncedWindowMap::const_iterator it =
/external/chromium_org/chrome/browser/sync/test/integration/performance/
sessions_sync_perf_test.cc
84
const browser_sync::
SyncedSession
* local_session;
Completed in 439 milliseconds