Chromium Code Reviews| Index: content/browser/plugin_service_impl.h |
| =================================================================== |
| --- content/browser/plugin_service_impl.h (revision 115259) |
| +++ content/browser/plugin_service_impl.h (working copy) |
| @@ -5,8 +5,8 @@ |
| // This class responds to requests from renderers for the list of plugins, and |
| // also a proxy object for plugin instances. |
| -#ifndef CONTENT_BROWSER_PLUGIN_SERVICE_H_ |
| -#define CONTENT_BROWSER_PLUGIN_SERVICE_H_ |
| +#ifndef CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ |
| +#define CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ |
| #pragma once |
| #include <set> |
| @@ -57,13 +57,13 @@ |
| } |
| } |
| -class CONTENT_EXPORT PluginService |
| +class CONTENT_EXPORT PluginServiceImpl |
| : NON_EXPORTED_BASE(public content::PluginService), |
| public base::WaitableEventWatcher::Delegate, |
| public content::NotificationObserver { |
| public: |
| - // Returns the PluginService singleton. |
| - static PluginService* GetInstance(); |
| + // Returns the PluginServiceImpl singleton. |
| + static PluginServiceImpl* GetInstance(); |
| // content::PluginService implementation: |
| virtual void Init() OVERRIDE; |
| @@ -143,12 +143,12 @@ |
| void SetPluginListForTesting(webkit::npapi::PluginList* plugin_list); |
| private: |
| - friend struct DefaultSingletonTraits<PluginService>; |
| + friend struct DefaultSingletonTraits<PluginServiceImpl>; |
| - // Creates the PluginService object, but doesn't actually build the plugin |
| + // Creates the PluginServiceImpl object, but doesn't actually build the plugin |
| // list yet. It's generated lazily. |
| - PluginService(); |
| - virtual ~PluginService(); |
| + PluginServiceImpl(); |
| + virtual ~PluginServiceImpl(); |
| // base::WaitableEventWatcher::Delegate implementation. |
| virtual void OnWaitableEventSignaled( |
| @@ -231,9 +231,7 @@ |
| scoped_refptr<PluginLoaderPosix> plugin_loader_; |
| #endif |
| - DISALLOW_COPY_AND_ASSIGN(PluginService); |
| + DISALLOW_COPY_AND_ASSIGN(PluginServiceImpl); |
| }; |
| -DISABLE_RUNNABLE_METHOD_REFCOUNT(PluginService); |
|
Nico
2011/12/21 03:38:39
Did you lose this intentionally?
jam
2011/12/21 04:56:50
it's not needed anymore now that we use bind
|
| - |
| -#endif // CONTENT_BROWSER_PLUGIN_SERVICE_H_ |
| +#endif // CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ |