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

Unified Diff: content/public/browser/content_browser_client.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
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/navigation_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index 0e96a038652dac1f6ec0afeaa81b3b7fa1fc820b..a84c6dcc4d35c2b6447452f43081fce7d9f5be0e 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -161,11 +161,25 @@ net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL(
}
std::string ContentBrowserClient::GetStoragePartitionIdForChildProcess(
- content::BrowserContext* browser_context,
+ BrowserContext* browser_context,
int child_process_id) {
return std::string();
}
+std::string ContentBrowserClient::GetStoragePartitionIdForSiteInstance(
+ BrowserContext* browser_context,
+ content::SiteInstance* instance) {
+ return std::string();
+}
+
+bool ContentBrowserClient::IsValidStoragePartitionId(
+ BrowserContext* browser_context,
+ const std::string& partition_id) {
+ // Since the GetStoragePartitionIdForChildProcess() only generates empty
+ // strings, we should only ever see empty strings coming back.
+ return partition_id.empty();
+}
+
MediaObserver* ContentBrowserClient::GetMediaObserver() {
return NULL;
}
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/navigation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698