diff options
Diffstat (limited to 'ppapi/proxy/host_dispatcher.cc')
-rw-r--r-- | ppapi/proxy/host_dispatcher.cc | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/ppapi/proxy/host_dispatcher.cc b/ppapi/proxy/host_dispatcher.cc index 7978786..fce2b13 100644 --- a/ppapi/proxy/host_dispatcher.cc +++ b/ppapi/proxy/host_dispatcher.cc @@ -36,14 +36,6 @@ HostDispatcher::HostDispatcher(base::ProcessHandle remote_process_handle, } HostDispatcher::~HostDispatcher() { - // Notify the plugin that it should exit. - Send(new PpapiMsg_Shutdown()); -} - -bool HostDispatcher::InitializeModule() { - bool init_result = false; - Send(new PpapiMsg_InitializeModule(pp_module(), &init_result)); - return init_result; } // static @@ -116,6 +108,10 @@ bool HostDispatcher::OnMessageReceived(const IPC::Message& msg) { return proxy->OnMessageReceived(msg); } +void HostDispatcher::OnChannelError() { + // TODO(brettw) plugin has crashed, handle this. +} + const void* HostDispatcher::GetProxiedInterface(const std::string& interface) { // First see if we even have a proxy for this interface. const InterfaceProxy::Info* info = GetPPPInterfaceInfo(interface); |