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

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 comment 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
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 */)
+
//-----------------------------------------------------------------------------
// Worker messages
// These are messages sent from the renderer process to the worker process.

Powered by Google App Engine
This is Rietveld 408576698