summaryrefslogtreecommitdiffstats
path: root/content/browser/worker_host/worker_process_host.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-12 00:45:35 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-12 00:45:35 +0000
commit5c5a88eb6550c82143afec70d114a68f2bd8635b (patch)
tree954f56498cbd9cb4e1bb8032e860b50777332685 /content/browser/worker_host/worker_process_host.h
parent581ac1e0a6c31f93a4415cb840f24f6dbb7d969d (diff)
downloadchromium_src-5c5a88eb6550c82143afec70d114a68f2bd8635b.zip
chromium_src-5c5a88eb6550c82143afec70d114a68f2bd8635b.tar.gz
chromium_src-5c5a88eb6550c82143afec70d114a68f2bd8635b.tar.bz2
Remove includes of worker_messages.h from chrome code, since that's an internal detail of content.
BUG=98716 Review URL: http://codereview.chromium.org/8514004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109746 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/worker_host/worker_process_host.h')
-rw-r--r--content/browser/worker_host/worker_process_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/browser/worker_host/worker_process_host.h b/content/browser/worker_host/worker_process_host.h
index 9608262..a3c4a13 100644
--- a/content/browser/worker_host/worker_process_host.h
+++ b/content/browser/worker_host/worker_process_host.h
@@ -131,6 +131,9 @@ class WorkerProcessHost : public BrowserChildProcessHost {
void DocumentDetached(WorkerMessageFilter* filter,
unsigned long long document_id);
+ // Terminates the given worker, i.e. based on a UI action.
+ void TerminateWorker(int worker_route_id);
+
typedef std::list<WorkerInstance> Instances;
const Instances& instances() const { return instances_; }