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

Unified Diff: content/browser/host_zoom_map_impl.h

Issue 11340029: Move remaining files in content\browser to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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
Index: content/browser/host_zoom_map_impl.h
===================================================================
--- content/browser/host_zoom_map_impl.h (revision 164795)
+++ content/browser/host_zoom_map_impl.h (working copy)
@@ -17,12 +17,13 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+namespace content {
+
// HostZoomMap needs to be deleted on the UI thread because it listens
// to notifications on there (and holds a NotificationRegistrar).
-class CONTENT_EXPORT HostZoomMapImpl
- : public NON_EXPORTED_BASE(content::HostZoomMap),
- public content::NotificationObserver,
- public base::SupportsUserData::Data {
+class CONTENT_EXPORT HostZoomMapImpl : public NON_EXPORTED_BASE(HostZoomMap),
+ public NotificationObserver,
+ public base::SupportsUserData::Data {
public:
HostZoomMapImpl();
virtual ~HostZoomMapImpl();
@@ -50,10 +51,10 @@
int render_view_id,
double level);
- // content::NotificationObserver implementation.
+ // NotificationObserver implementation.
virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE;
+ const NotificationSource& source,
+ const NotificationDetails& details) OVERRIDE;
private:
typedef std::map<std::string, double> HostZoomLevels;
@@ -76,9 +77,11 @@
// |temporary_zoom_levels_| to guarantee thread safety.
mutable base::Lock lock_;
- content::NotificationRegistrar registrar_;
+ NotificationRegistrar registrar_;
DISALLOW_COPY_AND_ASSIGN(HostZoomMapImpl);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_HOST_ZOOM_MAP_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698