Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Unified Diff: chrome/browser/plugin_service.h

Issue 19721: Random bits of de-Winification for WebContents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/plugin_installer.h ('k') | chrome/browser/printing/print_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_service.h
===================================================================
--- chrome/browser/plugin_service.h (revision 8984)
+++ chrome/browser/plugin_service.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 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 @@
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 @@
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 @@
PluginService::PluginMap::const_iterator end_;
};
-#endif // CHROME_BROWSER_PLUGIN_SERVICE_H__
+#endif // CHROME_BROWSER_PLUGIN_SERVICE_H_
« no previous file with comments | « chrome/browser/plugin_installer.h ('k') | chrome/browser/printing/print_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698