summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/plugin_dispatcher.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-03 17:32:19 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-03 17:32:19 +0000
commit176c7392aadbb01cfd885e0a1aaea7e850d8d99a (patch)
treeb39bae2c61985c991ee0591cdcb3e684a7389e2f /ppapi/proxy/plugin_dispatcher.h
parentd2bc6742a48ce48bd957cd812bf327dbfa7dce13 (diff)
downloadchromium_src-176c7392aadbb01cfd885e0a1aaea7e850d8d99a.zip
chromium_src-176c7392aadbb01cfd885e0a1aaea7e850d8d99a.tar.gz
chromium_src-176c7392aadbb01cfd885e0a1aaea7e850d8d99a.tar.bz2
Implement PPAPI proxy shutdown.
This just adds a message from the dispatcher in the renderer to the one in the plugin to terminate the process. The PpapiPluginProcessHost in the browser automatically cleans everything up when there's an IPC channel error. TEST=none BUG=none Review URL: http://codereview.chromium.org/5533002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68179 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/plugin_dispatcher.h')
-rw-r--r--ppapi/proxy/plugin_dispatcher.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ppapi/proxy/plugin_dispatcher.h b/ppapi/proxy/plugin_dispatcher.h
index 79eafb1..8c75d33 100644
--- a/ppapi/proxy/plugin_dispatcher.h
+++ b/ppapi/proxy/plugin_dispatcher.h
@@ -61,8 +61,9 @@ class PluginDispatcher : public Dispatcher {
}
private:
- // IPC message handler.
- void OnInitializeModule(PP_Module pp_module, bool* result);
+ // IPC message handlers.
+ void OnMsgInitializeModule(PP_Module pp_module, bool* result);
+ void OnMsgShutdown();
InitModuleFunc init_module_;
ShutdownModuleFunc shutdown_module_;