Index: ppapi/proxy/host_dispatcher.cc |
=================================================================== |
--- ppapi/proxy/host_dispatcher.cc (revision 74733) |
+++ ppapi/proxy/host_dispatcher.cc (working copy) |
@@ -36,16 +36,8 @@ |
} |
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 |
HostDispatcher* HostDispatcher::GetForInstance(PP_Instance instance) { |
if (!g_instance_to_dispatcher) |
@@ -116,6 +108,10 @@ |
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); |