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

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 11234032: Webview tag creation should be using storage partitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing remaining nits. 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: chrome/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index fdda9edbc8320df49d99d3b650ca41099430da3b..7c10c21c283575793e422c4e1b1e5fe9e64afbee 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -43,15 +43,18 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
content::WebContents* web_contents,
content::RenderViewHostDelegateView** render_view_host_delegate_view)
OVERRIDE;
- virtual std::string GetStoragePartitionIdForChildProcess(
- content::BrowserContext* browser_context,
- int child_process_id) OVERRIDE;
virtual std::string GetStoragePartitionIdForSite(
content::BrowserContext* browser_context,
const GURL& site) OVERRIDE;
virtual bool IsValidStoragePartitionId(
content::BrowserContext* browser_context,
const std::string& partition_id) OVERRIDE;
+ virtual void GetStoragePartitionConfigForSite(
+ content::BrowserContext* browser_context,
+ const GURL& site,
+ std::string* partition_domain,
+ std::string* partition_name,
+ bool* in_memory) OVERRIDE;
virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate(
content::WebContents* web_contents) OVERRIDE;
virtual void RenderViewHostCreated(
@@ -235,12 +238,6 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
// Sets io_thread_application_locale_ to the given value.
void SetApplicationLocaleOnIOThread(const std::string& locale);
- // Helper function for getting the storage partition id from an Extension
- // object.
- std::string GetStoragePartitionIdForExtension(
- content::BrowserContext* browser_context,
- const extensions::Extension* extension);
-
#if defined(OS_ANDROID)
void InitCrashDumpManager();
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | chrome/browser/chrome_content_browser_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698