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

Unified Diff: branches/1650/src/content/browser/worker_host/worker_process_host.cc

Issue 103243002: Revert 238433 "Merge 233099 "Kill worker process by way of a syn..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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: branches/1650/src/content/browser/worker_host/worker_process_host.cc
===================================================================
--- branches/1650/src/content/browser/worker_host/worker_process_host.cc (revision 238482)
+++ branches/1650/src/content/browser/worker_host/worker_process_host.cc (working copy)
@@ -318,8 +318,6 @@
IPC_MESSAGE_HANDLER(WorkerProcessHostMsg_AllowDatabase, OnAllowDatabase)
IPC_MESSAGE_HANDLER(WorkerProcessHostMsg_AllowFileSystem, OnAllowFileSystem)
IPC_MESSAGE_HANDLER(WorkerProcessHostMsg_AllowIndexedDB, OnAllowIndexedDB)
- IPC_MESSAGE_HANDLER(WorkerProcessHostMsg_ForceKillWorker,
- OnForceKillWorkerProcess)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP_EX()
@@ -390,14 +388,6 @@
url, name, resource_context_, GetRenderViewIDsForWorker(worker_route_id));
}
-void WorkerProcessHost::OnForceKillWorkerProcess() {
- if (process_ && process_launched_)
- base::KillProcess(
- process_->GetData().handle, RESULT_CODE_NORMAL_EXIT, false);
- else
- RecordAction(UserMetricsAction("WorkerProcess_BadProcessToKill"));
-}
-
void WorkerProcessHost::RelayMessage(
const IPC::Message& message,
WorkerMessageFilter* filter,

Powered by Google App Engine
This is Rietveld 408576698