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

Unified Diff: content/common/worker_messages.h

Issue 23496052: Kill worker process by way of a sync IPC message before it cleans up. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indentation Created 7 years, 3 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 | « content/browser/worker_host/worker_process_host.cc ('k') | content/worker/websharedworker_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/worker_messages.h
diff --git a/content/common/worker_messages.h b/content/common/worker_messages.h
index 6f20461ec3ed181313aa853c39ed0324be2425a2..ff84cd536b246f63d4999c25308bdc2d858c8088 100644
--- a/content/common/worker_messages.h
+++ b/content/common/worker_messages.h
@@ -142,6 +142,12 @@ IPC_SYNC_MESSAGE_CONTROL3_1(WorkerProcessHostMsg_AllowIndexedDB,
string16 /* database name */,
bool /* result */)
+// Sent by the worker process to request being killed.
+IPC_SYNC_MESSAGE_CONTROL2_1(WorkerProcessHostMsg_ForceKillWorker,
+ int /* worker_route_id */,
+ base::ProcessHandle /* worker process handle */,
+ bool /* result */)
michaeln 2013/09/12 02:03:20 You don't need the route_id or handl params for th
meacer 2013/09/16 21:40:42 Done.
+
//-----------------------------------------------------------------------------
// Worker messages
// These are messages sent from the renderer process to the worker process.
« no previous file with comments | « content/browser/worker_host/worker_process_host.cc ('k') | content/worker/websharedworker_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698