Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: chrome/browser/sessions/session_restore.h

Issue 5705004: [SYNC] Sessions datatype refactor. Most things related to sessions under-the-... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebase Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sessions/session_id.h ('k') | chrome/browser/sessions/session_restore.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_restore.h
===================================================================
--- chrome/browser/sessions/session_restore.h (revision 70604)
+++ chrome/browser/sessions/session_restore.h (working copy)
@@ -38,9 +38,16 @@
// Specifically used in the restoration of a foreign session. This method
// restores the given session windows to a browser.
- static void RestoreForeignSessionWindows(Profile* profile,
- std::vector<SessionWindow*>* windows);
+ static void RestoreForeignSessionWindows(
+ Profile* profile,
+ std::vector<SessionWindow*>::const_iterator begin,
+ std::vector<SessionWindow*>::const_iterator end);
+ // Specifically used in the restoration of a foreign session. This method
+ // restores the given session tab to a browser.
+ static void RestoreForeignSessionTab(Profile* profile,
+ const SessionTab& tab);
+
// Synchronously restores the last session. At least one tabbed browser is
// created, even if there is an error in restoring.
//
« no previous file with comments | « chrome/browser/sessions/session_id.h ('k') | chrome/browser/sessions/session_restore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698