diff options
Diffstat (limited to 'chrome/browser/plugin_process_host.cc')
-rw-r--r-- | chrome/browser/plugin_process_host.cc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/chrome/browser/plugin_process_host.cc b/chrome/browser/plugin_process_host.cc index e7a7f30..5031a35 100644 --- a/chrome/browser/plugin_process_host.cc +++ b/chrome/browser/plugin_process_host.cc @@ -505,8 +505,6 @@ void PluginProcessHost::OnMessageReceived(const IPC::Message& msg) { IPC_MESSAGE_HANDLER(PluginProcessHostMsg_DownloadUrl, OnDownloadUrl) IPC_MESSAGE_HANDLER(PluginProcessHostMsg_GetPluginFinderUrl, OnGetPluginFinderUrl) - IPC_MESSAGE_HANDLER(PluginProcessHostMsg_ShutdownRequest, - OnPluginShutdownRequest) IPC_MESSAGE_HANDLER(PluginProcessHostMsg_PluginMessage, OnPluginMessage) IPC_MESSAGE_HANDLER(PluginProcessHostMsg_GetCookies, OnGetCookies) IPC_MESSAGE_HANDLER_DELAY_REPLY(PluginProcessHostMsg_ResolveProxy, @@ -657,21 +655,6 @@ void PluginProcessHost::OnGetPluginFinderUrl(std::string* plugin_finder_url) { *plugin_finder_url = kDefaultPluginFinderURL; } -void PluginProcessHost::OnPluginShutdownRequest() { -#if defined(OS_WIN) - DCHECK(MessageLoop::current() == - ChromeThread::GetMessageLoop(ChromeThread::IO)); - - // If we have pending channel open requests from the renderers, then - // refuse the shutdown request from the plugin process. - bool ok_to_shutdown = sent_requests_.empty(); - Send(new PluginProcessMsg_ShutdownResponse(ok_to_shutdown)); -#else - // TODO(port): Port plugin_messages_internal.h. - NOTIMPLEMENTED(); -#endif -} - void PluginProcessHost::OnPluginMessage( const std::vector<uint8>& data) { DCHECK(MessageLoop::current() == @@ -684,12 +667,3 @@ void PluginProcessHost::OnPluginMessage( chrome_plugin->functions().on_message(data_ptr, data_len); } } - -void PluginProcessHost::Shutdown() { -#if defined(OS_WIN) - Send(new PluginProcessMsg_BrowserShutdown); -#else - // TODO(port): Port plugin_messages_internal.h. - NOTIMPLEMENTED(); -#endif -} |