summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/plugin_service.h')
-rw-r--r--chrome/browser/plugin_service.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/chrome/browser/plugin_service.h b/chrome/browser/plugin_service.h
index d4f9368..d193cda 100644
--- a/chrome/browser/plugin_service.h
+++ b/chrome/browser/plugin_service.h
@@ -101,10 +101,6 @@ class PluginService {
return resource_dispatcher_host_;
}
- // Initiates shutdown on all running PluginProcessHost instances.
- // Can be invoked on the main thread.
- void Shutdown();
-
private:
friend struct DefaultSingletonTraits<PluginService>;
@@ -113,9 +109,6 @@ class PluginService {
PluginService();
~PluginService();
- // Shutdown handler which executes in the context of the IO thread.
- void OnShutdown();
-
// mapping between plugin path and PluginProcessHost
typedef base::hash_map<FilePath, PluginProcessHost*> PluginMap;
PluginMap plugin_hosts_;
@@ -136,26 +129,6 @@ class PluginService {
// webkit_glue since this class is called on the main and IO thread.
Lock lock_;
- // Handles plugin process shutdown.
- class ShutdownHandler : public base::RefCountedThreadSafe<ShutdownHandler> {
- public:
- ShutdownHandler() {}
- ~ShutdownHandler() {}
-
- // Initiates plugin process shutdown. Ensures that the actual shutdown
- // happens on the io thread.
- void InitiateShutdown();
-
- private:
- // Shutdown handler which runs on the io thread.
- void OnShutdown();
-
- DISALLOW_COPY_AND_ASSIGN(ShutdownHandler);
- };
-
- friend class ShutdownHandler;
- scoped_refptr<ShutdownHandler> plugin_shutdown_handler_;
-
DISALLOW_COPY_AND_ASSIGN(PluginService);
};