diff options
author | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-07 05:33:57 +0000 |
---|---|---|
committer | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-07 05:33:57 +0000 |
commit | e94bbcbf1ed35d9636c59962acf7aa00d86fa181 (patch) | |
tree | 2a8e51e7310b5292f00f451ebb4487f4366ae32b /content/public/browser/browser_context.h | |
parent | 3cd1791ff041b2354eb1682ae1794332081c7a6e (diff) | |
download | chromium_src-e94bbcbf1ed35d9636c59962acf7aa00d86fa181.zip chromium_src-e94bbcbf1ed35d9636c59962acf7aa00d86fa181.tar.gz chromium_src-e94bbcbf1ed35d9636c59962acf7aa00d86fa181.tar.bz2 |
Do not share a process unless it has the right storage partition.
Covered by ProcessManagementTest.ProcessOverflow browser test.
BUG=131810
TEST=Ensure different V2 apps don't share processes when over the limit.
Review URL: https://chromiumcodereview.appspot.com/10889011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/browser/browser_context.h')
-rw-r--r-- | content/public/browser/browser_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h index 06fb8fe..1605974 100644 --- a/content/public/browser/browser_context.h +++ b/content/public/browser/browser_context.h @@ -31,6 +31,7 @@ class DatabaseTracker; } class FilePath; +class GURL; namespace content { @@ -63,6 +64,8 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData { static content::StoragePartition* GetStoragePartition( BrowserContext* browser_context, SiteInstance* site_instance); + static content::StoragePartition* GetStoragePartitionForSite( + BrowserContext* browser_context, const GURL& site); static void ForEachStoragePartition( BrowserContext* browser_context, const StoragePartitionCallback& callback); |