Home
last modified time | relevance | path

Searched refs:SessionWindow (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/chrome/browser/sessions/
Dsession_types.cc60 SessionWindow::SessionWindow() in SessionWindow() function in SessionWindow
67 SessionWindow::~SessionWindow() { in ~SessionWindow()
71 sync_pb::SessionWindow SessionWindow::ToSyncData() const { in ToSyncData()
72 sync_pb::SessionWindow sync_data; in ToSyncData()
Dsession_types.h108 struct SessionWindow { struct
109 SessionWindow();
110 ~SessionWindow();
115 sync_pb::SessionWindow ToSyncData() const;
155 DISALLOW_COPY_AND_ASSIGN(SessionWindow); argument
Dsession_service.h31 struct SessionWindow;
191 typedef base::Callback<void(ScopedVector<SessionWindow>, SessionID::id_type)>
213 typedef std::map<SessionID::id_type, SessionWindow*> IdToSessionWindow;
295 std::vector<SessionWindow*>* valid_windows,
300 void UpdateSelectedTabIndex(std::vector<SessionWindow*>* windows);
304 SessionWindow* GetWindow(SessionID::id_type window_id,
330 std::map<int, SessionWindow*>* windows,
331 std::vector<SessionWindow*>* valid_windows);
336 std::map<int, SessionWindow*>* windows);
347 std::map<int, SessionWindow*>* windows,
Dsession_service_unittest.cc96 void ReadWindows(std::vector<SessionWindow*>* windows, in ReadWindows()
127 ScopedVector<SessionWindow> windows; in CreateAndWriteSessionWithOneTab()
196 ScopedVector<SessionWindow> windows; in TEST_F()
225 ScopedVector<SessionWindow> windows; in TEST_F()
250 ScopedVector<SessionWindow> windows; in TEST_F()
282 ScopedVector<SessionWindow> windows; in TEST_F()
310 ScopedVector<SessionWindow> windows; in TEST_F()
364 ScopedVector<SessionWindow> windows; in TEST_F()
397 ScopedVector<SessionWindow> windows; in TEST_F()
438 ScopedVector<SessionWindow> windows; in TEST_F()
[all …]
Dsession_service_test_helper.h20 struct SessionWindow;
55 void ReadWindows(std::vector<SessionWindow*>* windows,
75 const std::vector<SessionWindow*>& windows,
Dsession_restore.h66 std::vector<const SessionWindow*>::const_iterator begin,
67 std::vector<const SessionWindow*>::const_iterator end);
Dsession_restore_android.cc59 std::vector<const SessionWindow*>::const_iterator begin, in RestoreForeignSessionWindows()
60 std::vector<const SessionWindow*>::const_iterator end) { in RestoreForeignSessionWindows()
Dsession_service.cc914 ScopedVector<SessionWindow> valid_windows; in OnGotSessionCommands()
924 std::vector<SessionWindow*>* valid_windows, in RestoreSessionFromCommands()
927 std::map<int, SessionWindow*> windows; in RestoreSessionFromCommands()
941 std::vector<SessionWindow*>* windows) { in UpdateSelectedTabIndex()
942 for (std::vector<SessionWindow*>::const_iterator i = windows->begin(); in UpdateSelectedTabIndex()
957 SessionWindow* SessionService::GetWindow( in GetWindow()
960 std::map<int, SessionWindow*>::iterator i = windows->find(window_id); in GetWindow()
962 SessionWindow* window = new SessionWindow(); in GetWindow()
1000 static bool WindowOrderSortFunction(const SessionWindow* w1, in WindowOrderSortFunction()
1001 const SessionWindow* w2) { in WindowOrderSortFunction()
[all …]
Dsession_restore.cc596 std::vector<const SessionWindow*>::const_iterator begin, in RestoreForeignSession()
597 std::vector<const SessionWindow*>::const_iterator end) { in RestoreForeignSession()
601 for (std::vector<const SessionWindow*>::const_iterator i = begin; in RestoreForeignSession()
773 void OnGotSession(ScopedVector<SessionWindow> windows, in OnGotSession()
799 Browser* ProcessSessionWindows(std::vector<SessionWindow*>* windows, in ProcessSessionWindows()
839 for (std::vector<SessionWindow*>::iterator i = windows->begin(); in ProcessSessionWindows()
845 for (std::vector<SessionWindow*>::iterator i = windows->begin(); in ProcessSessionWindows()
961 void RestoreTabsToBrowser(const SessionWindow& window, in RestoreTabsToBrowser()
1184 std::vector<SessionWindow*> windows_;
1253 std::vector<const SessionWindow*>::const_iterator begin, in RestoreForeignSessionWindows()
[all …]
Dsession_service_test_helper.cc59 std::vector<SessionWindow*>* windows, in ReadWindows()
99 const std::vector<SessionWindow*>& windows, in AssertSingleWindowWithSingleTab()
Dpersistent_tab_restore_service.cc144 static void CreateEntriesFromWindows(std::vector<SessionWindow*>* windows,
195 void OnGotPreviousSession(ScopedVector<SessionWindow> windows,
200 static bool ConvertSessionWindowToWindow(SessionWindow* session_window,
370 std::vector<SessionWindow*>* windows, in CreateEntriesFromWindows()
778 ScopedVector<SessionWindow> windows, in OnGotPreviousSession()
790 SessionWindow* session_window, in ConvertSessionWindowToWindow()
/external/chromium_org/chrome/browser/sync/glue/
Dsynced_session.h26 typedef std::map<SessionID::id_type, SessionWindow*> SyncedWindowMap;
98 bool SessionWindowHasNoTabsToSync(const SessionWindow& window);
Dsynced_session_tracker.h50 std::vector<const SessionWindow*>* windows) const;
192 SessionWindowWrapper(SessionWindow* window_ptr, OwnedState owned) in SessionWindowWrapper()
195 SessionWindow* window_ptr;
Dsynced_session.cc26 sync_pb::SessionWindow* w = header.add_window(); in ToSessionHeader()
77 bool SessionWindowHasNoTabsToSync(const SessionWindow& window) { in SessionWindowHasNoTabsToSync()
Dsynced_session_tracker.cc53 std::vector<const SessionWindow*>* windows) const { in LookupSessionWindows()
242 SessionWindow* window_ptr = NULL; in PutWindowInSession()
253 window_ptr = new SessionWindow(); in PutWindowInSession()
263 DCHECK_EQ(reinterpret_cast<SessionWindow*>(NULL), in PutWindowInSession()
Dsynced_session_tracker_unittest.cc77 std::vector<const SessionWindow*> windows; in TEST_F()
87 ASSERT_NE((SessionWindow*)NULL, windows[0]); in TEST_F()
88 ASSERT_NE((SessionWindow*)NULL, windows[1]); in TEST_F()
152 std::vector<const SessionWindow*> windows; in TEST_F()
Dsession_sync_test_helper.cc38 sync_pb::SessionWindow* window = header->add_window(); in AddWindowSpecifics()
63 SessionWindow* win_ptr; in VerifySyncedSession()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dforeign_session_handler.cc101 std::vector<const SessionWindow*> windows; in OpenForeignSessionWindows()
108 std::vector<const SessionWindow*>::const_iterator iter_begin = in OpenForeignSessionWindows()
110 std::vector<const SessionWindow*>::const_iterator iter_end = in OpenForeignSessionWindows()
112 std::vector<const SessionWindow*>::const_iterator(windows.end()) : in OpenForeignSessionWindows()
269 SessionWindow* window = it->second; in HandleGetForeignSessions()
384 const SessionWindow& window, in SessionWindowToValue()
/external/chromium_org/chrome/browser/sync/sessions/
Dsessions_sync_manager.h43 class SessionWindow; variable
115 std::vector<const SessionWindow*>* windows) OVERRIDE;
259 const sync_pb::SessionWindow& specifics,
261 SessionWindow* session_window);
/external/chromium_org/sync/protocol/
Dproto_enum_conversions_unittest.cc38 sync_pb::SessionWindow::BrowserType_MIN, in TEST_F()
39 sync_pb::SessionWindow::BrowserType_MAX); in TEST_F()
Dproto_enum_conversions.cc38 sync_pb::SessionWindow::BrowserType browser_type) { in GetBrowserTypeString()
39 ASSERT_ENUM_BOUNDS(sync_pb::SessionWindow, BrowserType, in GetBrowserTypeString()
42 ENUM_CASE(sync_pb::SessionWindow, TYPE_TABBED); in GetBrowserTypeString()
43 ENUM_CASE(sync_pb::SessionWindow, TYPE_POPUP); in GetBrowserTypeString()
/external/chromium_org/chrome/browser/android/
Dforeign_session_helper.cc63 bool ShouldSkipWindow(const SessionWindow& window) { in ShouldSkipWindow()
76 const SessionWindow &window = *(it->second); in ShouldSkipSession()
85 const SessionWindow& window, in CopyTabsToJava()
118 const SessionWindow &window = *(it->second); in CopyWindowsToJava()
/external/chromium_org/chrome/browser/extensions/api/sessions/
Dsessions_api.h59 const SessionWindow& window,
62 const SessionWindow& window,
/external/chromium_org/chrome/browser/sync/
Dopen_tabs_ui_delegate.h49 std::vector<const SessionWindow*>* windows) = 0;
/external/chromium_org/chrome/browser/sync/test/integration/
Dsessions_helper.cc203 const SessionWindow& window = *(w->second); in GetLocalWindows()
204 SessionWindow* new_window = new SessionWindow(); in GetLocalWindows()

12