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

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 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 | « no previous file | content/browser/worker_host/worker_process_host.cc » ('j') | content/common/worker_messages.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..85baf9c82fcd01fcd88e7a08e9f2bf1f96ccb7ec 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,
+ 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/common/worker_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698