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

Unified Diff: content/browser/worker_host/worker_process_host.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/browser/worker_host/worker_process_host.h
diff --git a/content/browser/worker_host/worker_process_host.h b/content/browser/worker_host/worker_process_host.h
index 226d3454f55feedc76c5a96e8831bff1661c47b4..97599d9527ca5e79ae25425c7240c945631fe961 100644
--- a/content/browser/worker_host/worker_process_host.h
+++ b/content/browser/worker_host/worker_process_host.h
@@ -12,6 +12,7 @@
#include "base/basictypes.h"
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
+#include "base/process/process_handle.h"
#include "content/browser/worker_host/worker_document_set.h"
#include "content/browser/worker_host/worker_storage_partition.h"
#include "content/common/content_export.h"
@@ -201,6 +202,10 @@ class WorkerProcessHost : public BrowserChildProcessHostDelegate,
const string16& name,
bool* result);
+void OnForceKillWorkerProcess(int worker_route_id,
michaeln 2013/09/12 00:22:11 indent is off
Mustafa Acer 2013/09/12 00:29:14 Done.
+ base::ProcessHandle handle,
+ bool* result);
+
// Relays a message to the given endpoint. Takes care of parsing the message
// if it contains a message port and sending it a valid route id.
void RelayMessage(const IPC::Message& message,
« no previous file with comments | « no previous file | content/browser/worker_host/worker_process_host.cc » ('j') | content/worker/websharedworker_stub.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698