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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 11234032: Webview tag creation should be using storage partitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for all comments so far. Created 8 years, 1 month 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: 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 3ae2a8eea5ecd9f042b6b611d6d2fa0c013f4a01..332289b6abed6144695bf4ab078771da539060eb 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -160,12 +160,6 @@ net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL(
return NULL;
}
-std::string ContentBrowserClient::GetStoragePartitionIdForChildProcess(
- BrowserContext* browser_context,
- int child_process_id) {
- return std::string();
-}
-
std::string ContentBrowserClient::GetStoragePartitionIdForSite(
BrowserContext* browser_context,
const GURL& site) {
@@ -180,6 +174,17 @@ bool ContentBrowserClient::IsValidStoragePartitionId(
return partition_id.empty();
}
+void ContentBrowserClient::GetStoragePartitionConfigForSite(
+ BrowserContext* browser_context,
+ const GURL& site,
+ std::string* partition_domain,
+ std::string* partition_name,
+ bool* in_memory) {
+ *partition_domain = std::string();
awong 2012/11/07 18:14:30 ->clear()
nasko 2012/11/07 18:48:05 Done.
+ *partition_name = std::string();
+ *in_memory = false;
+}
+
MediaObserver* ContentBrowserClient::GetMediaObserver() {
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698