diff options
author | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 02:13:55 +0000 |
---|---|---|
committer | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 02:13:55 +0000 |
commit | 056ad2a8ef3d941e6e116fbc7ef1a6d747a6c691 (patch) | |
tree | 342be06819c9bbfe9901c4ef1c93dc00fd8966cb /chrome/browser/chrome_content_browser_client.h | |
parent | 3e4aabc2c524579517ec69c4cc32ec2b3297faef (diff) | |
download | chromium_src-056ad2a8ef3d941e6e116fbc7ef1a6d747a6c691.zip chromium_src-056ad2a8ef3d941e6e116fbc7ef1a6d747a6c691.tar.gz chromium_src-056ad2a8ef3d941e6e116fbc7ef1a6d747a6c691.tar.bz2 |
Use process-per-app-instance for hosted apps without background permission.
Also update ExtensionProcessManager to map SiteInstances to extensions,
rather than extensions to processes.
BUG=87644
TEST=AppApiTest.AppProcessInstances
Review URL: http://codereview.chromium.org/7328029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92099 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_content_browser_client.h')
-rw-r--r-- | chrome/browser/chrome_content_browser_client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h index 8e1b02d..8ab60c9 100644 --- a/chrome/browser/chrome_content_browser_client.h +++ b/chrome/browser/chrome_content_browser_client.h @@ -21,6 +21,8 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient { virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; + virtual bool ShouldUseProcessPerSite(Profile* profile, + const GURL& effective_url) OVERRIDE; virtual GURL GetEffectiveURL(Profile* profile, const GURL& url) OVERRIDE; virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; virtual std::string GetCanonicalEncodingNameByAliasName( |