diff options
author | horo@chromium.org <horo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-28 21:40:21 +0000 |
---|---|---|
committer | horo@chromium.org <horo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-28 21:40:21 +0000 |
commit | 896c6d559b1da535b6c6d3c5113bc65431f63b0f (patch) | |
tree | 973ae2942b8d3e0e65be4d0bb38235d4aef5361a /chrome/browser/chrome_content_browser_client.h | |
parent | 4dc3bcd6bc497ba5299212f9b8f960015c583761 (diff) | |
download | chromium_src-896c6d559b1da535b6c6d3c5113bc65431f63b0f.zip chromium_src-896c6d559b1da535b6c6d3c5113bc65431f63b0f.tar.gz chromium_src-896c6d559b1da535b6c6d3c5113bc65431f63b0f.tar.bz2 |
Register the worker process ID of the extension to ProcessMap in ExtensionSystem.
This change makes importScripts() work correctly in the Shared Worker of packaged app.
BUG=258695,329786
Review URL: https://codereview.chromium.org/139163002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247513 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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h index f1030a5..d0f17dc 100644 --- a/chrome/browser/chrome_content_browser_client.h +++ b/chrome/browser/chrome_content_browser_client.h @@ -98,6 +98,10 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient { content::SiteInstance* site_instance) OVERRIDE; virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) OVERRIDE; + virtual void WorkerProcessCreated(content::SiteInstance* site_instance, + int worker_process_id) OVERRIDE; + virtual void WorkerProcessTerminated(content::SiteInstance* site_instance, + int worker_process_id) OVERRIDE; virtual bool ShouldSwapBrowsingInstancesForNavigation( content::SiteInstance* site_instance, const GURL& current_url, |