summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions/session_restore.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sessions/session_restore.h')
-rw-r--r--chrome/browser/sessions/session_restore.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/sessions/session_restore.h b/chrome/browser/sessions/session_restore.h
index 8ce01d2f..bb08868 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.
//