/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; 73 bool ShouldSkipSession(const browser_sync::SyncedSession& session) { 74 for (SyncedSession::SyncedWindowMap::const_iterator it = 114 const SyncedSession& session, 116 for (SyncedSession::SyncedWindowMap::const_iterator it = 203 std::vector<const browser_sync::SyncedSession*> sessions; 222 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 | 74 bool SortSessionsByRecency(const browser_sync::SyncedSession* s1, 75 const browser_sync::SyncedSession* s2) { 431 std::vector<const browser_sync::SyncedSession*> sessions; 446 const browser_sync::SyncedSession* session = sessions[i]; 561 browser_sync::SyncedSession::DeviceType device_type) { 564 case browser_sync::SyncedSession::TYPE_PHONE: 568 case browser_sync::SyncedSession::TYPE_TABLET: 572 case browser_sync::SyncedSession::TYPE_CHROMEOS: 573 case browser_sync::SyncedSession::TYPE_WIN: 574 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) { 342 const browser_sync::SyncedSession* session) { 353 for (browser_sync::SyncedSession::SyncedWindowMap::const_iterator it = 377 std::vector<const browser_sync::SyncedSession*> sessions;
|
/external/chromium_org/chrome/browser/sync/sessions/ |
sessions_sync_manager.cc | 160 SyncedSession* current_session = session_tracker_.GetSession(local_tag); 427 const SyncedSession* session = NULL; 441 SyncedSession::SyncedWindowMap::const_iterator win_iter; 468 const SyncedSession* * local_session) { 553 std::vector<const SyncedSession*>* sessions) { 609 SyncedSession* foreign_session = 622 // Load (or create) the SyncedSession object for this client. 697 SyncedSession* session_header) { 703 session_header->device_type = SyncedSession::TYPE_WIN; 706 session_header->device_type = SyncedSession::TYPE_MACOSX [all...] |
sessions_sync_manager.h | 112 std::vector<const SyncedSession*>* sessions) OVERRIDE; 120 virtual bool GetLocalSession(const SyncedSession* * local_session) OVERRIDE; 253 SyncedSession* session_header);
|
sessions_sync_manager_unittest.cc | 328 SyncedSession session; 333 ASSERT_EQ(SyncedSession::TYPE_WIN, session.device_type); 345 SyncedSession* session = manager()->session_tracker_.GetSession(tag); [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;
|