Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(507)

Unified Diff: content/browser/shared_worker/shared_worker_host.h

Issue 183663025: Implement SharedWorkerServiceImpl::TerminateWorker(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/shared_worker/shared_worker_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/shared_worker/shared_worker_host.h
diff --git a/content/browser/shared_worker/shared_worker_host.h b/content/browser/shared_worker/shared_worker_host.h
index cc4c2473d1bd3a3e707111bf02acc4cb9d6e1a82..3883cb724d50aaf7f963520110aca3a321de170a 100644
--- a/content/browser/shared_worker/shared_worker_host.h
+++ b/content/browser/shared_worker/shared_worker_host.h
@@ -64,6 +64,9 @@ class SharedWorkerHost {
const base::string16& name,
bool* result);
+ // Terminates the given worker, i.e. based on a UI action.
+ void TerminateWorker();
+
SharedWorkerInstance* instance() { return instance_.get(); }
SharedWorkerMessageFilter* container_render_filter() const {
return container_render_filter_;
« no previous file with comments | « no previous file | content/browser/shared_worker/shared_worker_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698