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

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

Issue 3133022: sync: take two for: "Added classes to enable session sync... (Closed)
Patch Set: Created 10 years, 4 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/dom_ui/value_helper.cc ('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
diff --git a/chrome/browser/sessions/session_restore.h b/chrome/browser/sessions/session_restore.h
index 8ce01d2f477d633f092e2edaa4c86b6b372375a5..bb088688f51944692175cd449ee28cdb10229dc8 100644
--- a/chrome/browser/sessions/session_restore.h
+++ b/chrome/browser/sessions/session_restore.h
@@ -9,6 +9,7 @@
#include <vector>
#include "chrome/browser/history/history.h"
+#include "chrome/browser/sessions/session_types.h"
#include "base/basictypes.h"
class Browser;
@@ -35,6 +36,11 @@ class SessionRestore {
bool always_create_tabbed_browser,
const std::vector<GURL>& urls_to_open);
+ // 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);
+
// 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/dom_ui/value_helper.cc ('k') | chrome/browser/sessions/session_restore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698