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

Unified Diff: chrome/browser/ui/browser_tabrestore.h

Issue 10850010: Make session restore understand that tabs have multiple SessionStorageNamespaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unittest using jam's new PRE_ method Created 8 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
Index: chrome/browser/ui/browser_tabrestore.h
diff --git a/chrome/browser/ui/browser_tabrestore.h b/chrome/browser/ui/browser_tabrestore.h
index 9dfddfb03408eebafc93245a8630749aa6b6a53c..7c005ad57a422f9983af4b54de15b5bc24026e00 100644
--- a/chrome/browser/ui/browser_tabrestore.h
+++ b/chrome/browser/ui/browser_tabrestore.h
@@ -8,6 +8,7 @@
#include <vector>
#include "chrome/browser/sessions/session_types.h"
+#include "content/public/browser/navigation_controller.h"
class Browser;
@@ -41,7 +42,7 @@ content::WebContents* AddRestoredTab(
bool select,
bool pin,
bool from_last_session,
- content::SessionStorageNamespace* storage_namespace);
+ const content::SessionStorageNamespaceMap& storage_namespace_map);
// Replaces the state of the currently selected tab with the session
// history restored from the SessionRestore system.
@@ -51,7 +52,7 @@ void ReplaceRestoredTab(
int selected_navigation,
bool from_last_session,
const std::string& extension_app_id,
- content::SessionStorageNamespace* session_storage_namespace);
+ const content::SessionStorageNamespaceMap& storage_namespace_map);
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698