diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-01 18:40:48 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-01 18:40:48 +0000 |
commit | 6215105307c39376a70a5e33314c275d89e1e74e (patch) | |
tree | 2d95253afc24cdbdd950a138409cbfb00332976b /chrome/browser/chrome_content_browser_client.h | |
parent | e5eced540e39671176bad6c5d451f547100baed9 (diff) | |
download | chromium_src-6215105307c39376a70a5e33314c275d89e1e74e.zip chromium_src-6215105307c39376a70a5e33314c275d89e1e74e.tar.gz chromium_src-6215105307c39376a70a5e33314c275d89e1e74e.tar.bz2 |
Hide WorkerProcessHost from chrome.
The code in chrome didn't need to know about all of WorkerProcessHost, which has many methods/getters especially counting WorkerInstance. Instead I added simple getters for the list of running workers, and the ability to terminate a worker.
BUG=98716
Review URL: https://chromiumcodereview.appspot.com/9317026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120078 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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h index b097634..10d8958 100644 --- a/chrome/browser/chrome_content_browser_client.h +++ b/chrome/browser/chrome_content_browser_client.h @@ -64,16 +64,16 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient { virtual bool AllowSaveLocalState( const content::ResourceContext& context) OVERRIDE; virtual bool AllowWorkerDatabase( - int worker_route_id, const GURL& url, const string16& name, const string16& display_name, unsigned long estimated_size, - WorkerProcessHost* worker_process_host) OVERRIDE; + const content::ResourceContext& context, + const std::vector<std::pair<int, int> >& render_views) OVERRIDE; virtual bool AllowWorkerFileSystem( - int worker_route_id, const GURL& url, - WorkerProcessHost* worker_process_host) OVERRIDE; + const content::ResourceContext& context, + const std::vector<std::pair<int, int> >& render_views) OVERRIDE; virtual net::URLRequestContext* OverrideRequestContextForURL( const GURL& url, const content::ResourceContext& context) OVERRIDE; virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; |