diff options
author | nasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-30 23:22:43 +0000 |
---|---|---|
committer | nasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-30 23:22:43 +0000 |
commit | 27ddfed2876fd9587f7878b289ad9243f4071a8d (patch) | |
tree | 432a590de60eab188e6679a310597086e9b85438 /content/shell/shell_browser_context.h | |
parent | 88c295555351cddc5fa89115cfee73542a6a385a (diff) | |
download | chromium_src-27ddfed2876fd9587f7878b289ad9243f4071a8d.zip chromium_src-27ddfed2876fd9587f7878b289ad9243f4071a8d.tar.gz chromium_src-27ddfed2876fd9587f7878b289ad9243f4071a8d.tar.bz2 |
For storage partitions to work properly, we need to know whether a storage partition is in-memory only and what directory it is supposed to live under. This information is currently not available on the IO thread, where we create the cookie store and HTTP cache.
This CL is an the first step, aiming to to get profiles to propagate storage partition details from GetResourceContext* methods on the UI thread to the IO thread.
BUG=145500,138296
Review URL: https://chromiumcodereview.appspot.com/11147026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165057 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_browser_context.h')
-rw-r--r-- | content/shell/shell_browser_context.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/content/shell/shell_browser_context.h b/content/shell/shell_browser_context.h index 4386a80..721d007 100644 --- a/content/shell/shell_browser_context.h +++ b/content/shell/shell_browser_context.h @@ -35,9 +35,11 @@ class ShellBrowserContext : public BrowserContext { int renderer_child_id) OVERRIDE; virtual net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( - const std::string& partition_id) OVERRIDE; + const FilePath& partition_path, + bool in_memory) OVERRIDE; virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( - const std::string& partition_id) OVERRIDE; + const FilePath& partition_path, + bool in_memory) OVERRIDE; virtual ResourceContext* GetResourceContext() OVERRIDE; virtual GeolocationPermissionContext* GetGeolocationPermissionContext() OVERRIDE; |