summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_process_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/plugin_process_host.h')
-rw-r--r--chrome/browser/plugin_process_host.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/plugin_process_host.h b/chrome/browser/plugin_process_host.h
index bc15ca2..71b7c77 100644
--- a/chrome/browser/plugin_process_host.h
+++ b/chrome/browser/plugin_process_host.h
@@ -75,9 +75,6 @@ class PluginProcessHost : public ChildProcessHost,
void OnModalDialogResponse(const std::string& json_retval,
IPC::Message* sync_result);
- // Shuts down the current plugin process instance.
- void Shutdown();
-
const WebPluginInfo& info() const { return info_; }
#if defined(OS_WIN)
@@ -106,7 +103,6 @@ class PluginProcessHost : public ChildProcessHost,
void OnGetCookies(uint32 request_context, const GURL& url,
std::string* cookies);
void OnResolveProxy(const GURL& url, IPC::Message* reply_msg);
- void OnPluginShutdownRequest();
void OnPluginMessage(const std::vector<uint8>& data);
#if defined(OS_WIN)
@@ -114,6 +110,8 @@ class PluginProcessHost : public ChildProcessHost,
void OnDestroyWindow(HWND window);
#endif
+ virtual bool CanShutdown() { return sent_requests_.empty(); }
+
struct ChannelRequest {
ChannelRequest(ResourceMessageFilter* renderer_message_filter,
const std::string& m, IPC::Message* r) :