diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 21:17:02 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 21:17:02 +0000 |
commit | 5ea7794d237835197543c63aafe299a77a766fe2 (patch) | |
tree | c7241dc29447f8278f5bab3e87f196add0756b07 /chrome/browser/plugin_service.h | |
parent | 272fe599bb86943b64b3b83d99e5bfd6b2531c28 (diff) | |
download | chromium_src-5ea7794d237835197543c63aafe299a77a766fe2.zip chromium_src-5ea7794d237835197543c63aafe299a77a766fe2.tar.gz chromium_src-5ea7794d237835197543c63aafe299a77a766fe2.tar.bz2 |
Random bits of de-Winification for WebContents.
Review URL: http://codereview.chromium.org/19721
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8987 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_service.h')
-rw-r--r-- | chrome/browser/plugin_service.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/chrome/browser/plugin_service.h b/chrome/browser/plugin_service.h index 3bca25f..d7ad9ae 100644 --- a/chrome/browser/plugin_service.h +++ b/chrome/browser/plugin_service.h @@ -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 CHROME_BROWSER_PLUGIN_SERVICE_H__ -#define CHROME_BROWSER_PLUGIN_SERVICE_H__ +#ifndef CHROME_BROWSER_PLUGIN_SERVICE_H_ +#define CHROME_BROWSER_PLUGIN_SERVICE_H_ #include <vector> @@ -141,8 +141,7 @@ class PluginService { Lock lock_; // Handles plugin process shutdown. - class ShutdownHandler : - public base::RefCountedThreadSafe<ShutdownHandler> { + class ShutdownHandler : public base::RefCountedThreadSafe<ShutdownHandler> { public: ShutdownHandler() {} ~ShutdownHandler() {} @@ -152,16 +151,16 @@ class PluginService { void InitiateShutdown(); private: - // Shutdown handler which runs on the io thread. - void OnShutdown(); + // Shutdown handler which runs on the io thread. + void OnShutdown(); - DISALLOW_EVIL_CONSTRUCTORS(ShutdownHandler); + DISALLOW_COPY_AND_ASSIGN(ShutdownHandler); }; friend class ShutdownHandler; scoped_refptr<ShutdownHandler> plugin_shutdown_handler_; - DISALLOW_EVIL_CONSTRUCTORS(PluginService); + DISALLOW_COPY_AND_ASSIGN(PluginService); }; // The PluginProcessHostIterator allows to iterate through all the @@ -214,4 +213,4 @@ class PluginProcessHostIterator { PluginService::PluginMap::const_iterator end_; }; -#endif // CHROME_BROWSER_PLUGIN_SERVICE_H__ +#endif // CHROME_BROWSER_PLUGIN_SERVICE_H_ |