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

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

Issue 10831116: Move SessionStorageNamespace entirely into NavigationController and support StoragePartitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged ToT 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_tabstrip.cc
diff --git a/chrome/browser/ui/browser_tabstrip.cc b/chrome/browser/ui/browser_tabstrip.cc
index f1b3986f290ccb3ece2d34abc83f704997844a69..e1198a95485be0191a3155b609cb0868848feeb9 100644
--- a/chrome/browser/ui/browser_tabstrip.cc
+++ b/chrome/browser/ui/browser_tabstrip.cc
@@ -160,14 +160,26 @@ TabContents* TabContentsFactory(
Profile* profile,
content::SiteInstance* site_instance,
int routing_id,
+ const content::WebContents* base_web_contents) {
+ return new TabContents(content::WebContents::Create(profile,
+ site_instance,
+ routing_id,
+ base_web_contents));
+}
+
+TabContents* TabContentsWithSessionStorageFactory(
+ Profile* profile,
+ content::SiteInstance* site_instance,
+ int routing_id,
const content::WebContents* base_web_contents,
- content::SessionStorageNamespace* session_storage_namespace) {
- return new TabContents(content::WebContents::Create(
- profile,
- site_instance,
- routing_id,
- base_web_contents,
- session_storage_namespace));
+ const content::SessionStorageNamespaceMap& session_storage_namespace_map) {
+ return new TabContents(
+ content::WebContents::CreateWithSessionStorage(
+ profile,
+ site_instance,
+ routing_id,
+ base_web_contents,
+ session_storage_namespace_map));
}
} // namespace chrome
« no previous file with comments | « chrome/browser/ui/browser_tabstrip.h ('k') | chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698