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

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

Issue 10831116: Move SessionStorageNamespace entirely into NavigationController and support StoragePartitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix content shell Created 8 years, 5 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_tabstrip.h
diff --git a/chrome/browser/ui/browser_tabstrip.h b/chrome/browser/ui/browser_tabstrip.h
index 3eb2722756417614f45c187586d8bbb656feec48..8b771d0c4d542bbd566a36ef4fa22231ad0cab8a 100644
--- a/chrome/browser/ui/browser_tabstrip.h
+++ b/chrome/browser/ui/browser_tabstrip.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_BROWSER_TABSTRIP_H_
#include "content/public/common/page_transition_types.h"
+#include "content/public/browser/navigation_controller.h"
#include "webkit/glue/window_open_disposition.h"
class Browser;
@@ -14,7 +15,6 @@ class Profile;
class TabContents;
namespace content {
-class SessionStorageNamespace;
class SiteInstance;
class WebContents;
}
@@ -66,14 +66,23 @@ void CloseWebContents(Browser* browser, content::WebContents* contents);
void CloseAllTabs(Browser* browser);
-// Centralized method for creating a TabContents, configuring and
+// Centralized methods for creating a TabContents, configuring and
// installing all its supporting objects and observers.
TabContents* TabContentsFactory(
Profile* profile,
content::SiteInstance* site_instance,
int routing_id,
+ const content::WebContents* base_web_contents);
+
+// Same as TabContentsFactory, but allows specifying the initial
+// |session_storage_namespace_map|. This is for supporting session restore
+// where we reconstitute the session storage namespaces for a browsing context.
+TabContents* TabContentsFactoryWithSessionStorage(
Charlie Reis 2012/08/02 23:06:47 Move Factory to the end of the name.
awong 2012/08/03 00:31:04 Done.
+ Profile* profile,
+ content::SiteInstance* site_instance,
+ int routing_id,
const content::WebContents* base_web_contents,
- content::SessionStorageNamespace* session_storage_namespace);
+ const content::SessionStorageNamespaceMap& session_storage_namespace_map);
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698