diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-23 23:53:00 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-23 23:53:00 +0000 |
commit | 89805c18c0ce6ab0e5c68d58688921b7d3340236 (patch) | |
tree | 3b2e22880285173c4a811b28f7a9b81c70549cb0 /content/browser/host_zoom_map.h | |
parent | 149b7affaa3ece75d56ddfcf1177bf45c17182e5 (diff) | |
download | chromium_src-89805c18c0ce6ab0e5c68d58688921b7d3340236.zip chromium_src-89805c18c0ce6ab0e5c68d58688921b7d3340236.tar.gz chromium_src-89805c18c0ce6ab0e5c68d58688921b7d3340236.tar.bz2 |
Remove Profile code from HostZoomMap.
BUG=76788
Review URL: http://codereview.chromium.org/7067005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86367 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/host_zoom_map.h')
-rw-r--r-- | content/browser/host_zoom_map.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/content/browser/host_zoom_map.h b/content/browser/host_zoom_map.h index 7631dd8..3ae44a1 100644 --- a/content/browser/host_zoom_map.h +++ b/content/browser/host_zoom_map.h @@ -21,7 +21,6 @@ #include "content/common/notification_registrar.h" class GURL; -class Profile; // HostZoomMap needs to be deleted on the UI thread because it listens // to notifications on there (and holds a NotificationRegistrar). @@ -30,7 +29,7 @@ class HostZoomMap : public base::RefCountedThreadSafe<HostZoomMap, BrowserThread::DeleteOnUIThread> { public: - explicit HostZoomMap(Profile* profile); + HostZoomMap(); // Returns the zoom level for a given url. The zoom level is determined by // the host portion of the URL, or (in the absence of a host) the complete @@ -69,6 +68,7 @@ class HostZoomMap : const NotificationSource& source, const NotificationDetails& details); + double default_zoom_level() const { return default_zoom_level_; } void set_default_zoom_level(double level) { default_zoom_level_ = level; } private: @@ -79,9 +79,6 @@ class HostZoomMap : ~HostZoomMap(); - // The profile we're associated with. - Profile* profile_; - // Copy of the pref data, so that we can read it on the IO thread. HostZoomLevels host_zoom_levels_; double default_zoom_level_; |