diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-09 06:45:46 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-09 06:45:46 +0000 |
commit | 6f37144dd7bbeded7d56dc37952342fa09e5a7bc (patch) | |
tree | 313f077bdd22d3e361d066753f7672ec77006d0c /content/shell | |
parent | 5790d92e12c225bfe1683c81cf223dcf64302d1d (diff) | |
download | chromium_src-6f37144dd7bbeded7d56dc37952342fa09e5a7bc.zip chromium_src-6f37144dd7bbeded7d56dc37952342fa09e5a7bc.tar.gz chromium_src-6f37144dd7bbeded7d56dc37952342fa09e5a7bc.tar.bz2 |
Extract a ProcessMap class from ExtensionProcessManager. This is a dumb data class that can be used on both the IO and UI threads to test extension/process associations.
BUG=95111,102617
TEST=Already covered by tests
Review URL: http://codereview.chromium.org/8387061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell')
-rw-r--r-- | content/shell/shell_content_browser_client.cc | 8 | ||||
-rw-r--r-- | content/shell/shell_content_browser_client.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc index 1379e82..2a31c9a 100644 --- a/content/shell/shell_content_browser_client.cc +++ b/content/shell/shell_content_browser_client.cc @@ -93,6 +93,14 @@ bool ShellContentBrowserClient::IsSuitableHost( return true; } +void ShellContentBrowserClient::SiteInstanceGotProcess( + SiteInstance* site_instance) { +} + +void ShellContentBrowserClient::SiteInstanceDeleting( + SiteInstance* site_instance) { +} + bool ShellContentBrowserClient::ShouldSwapProcessesForNavigation( const GURL& current_url, const GURL& new_url) { diff --git a/content/shell/shell_content_browser_client.h b/content/shell/shell_content_browser_client.h index 2e44aa9..e8aa52f 100644 --- a/content/shell/shell_content_browser_client.h +++ b/content/shell/shell_content_browser_client.h @@ -54,6 +54,8 @@ class ShellContentBrowserClient : public ContentBrowserClient virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; virtual bool IsSuitableHost(RenderProcessHost* process_host, const GURL& site_url) OVERRIDE; + virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; + virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, const GURL& new_url) OVERRIDE; |