From e94bbcbf1ed35d9636c59962acf7aa00d86fa181 Mon Sep 17 00:00:00 2001 From: "creis@chromium.org" Date: Fri, 7 Sep 2012 05:33:57 +0000 Subject: 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 --- content/public/browser/browser_context.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'content/public/browser/browser_context.h') 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); -- cgit v1.1