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

Unified Diff: content/worker/worker_thread.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: Add process_ checks Created 7 years, 1 month 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/common/worker_messages.h ('k') | content/worker/worker_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/worker_thread.h
diff --git a/content/worker/worker_thread.h b/content/worker/worker_thread.h
index fe1379b8fb853540b4b0c0bac0c5d97ff084dcd0..7f6b02d60ac8c4ed6460cf711c01186e1539b28a 100644
--- a/content/worker/worker_thread.h
+++ b/content/worker/worker_thread.h
@@ -39,8 +39,10 @@ class WorkerThread : public ChildThread {
private:
virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE;
virtual void OnChannelError() OVERRIDE;
+ virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
void OnCreateWorker(const WorkerProcessMsg_CreateWorker_Params& params);
+ void OnShutdown();
scoped_ptr<WorkerWebKitPlatformSupportImpl> webkit_platform_support_;
scoped_ptr<AppCacheDispatcher> appcache_dispatcher_;
« no previous file with comments | « content/common/worker_messages.h ('k') | content/worker/worker_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698