Index: content/browser/host_zoom_map_impl.h |
diff --git a/content/browser/host_zoom_map_impl.h b/content/browser/host_zoom_map_impl.h |
index 7840188c0d747399cd59fbb42d0871237aafe74f..44cc85c81c56206034ef3b30821540ee1bdeb317 100644 |
--- a/content/browser/host_zoom_map_impl.h |
+++ b/content/browser/host_zoom_map_impl.h |
@@ -30,8 +30,11 @@ class CONTENT_EXPORT HostZoomMapImpl : public NON_EXPORTED_BASE(HostZoomMap), |
// HostZoomMap implementation: |
virtual void CopyFrom(HostZoomMap* copy) OVERRIDE; |
- virtual double GetZoomLevel(const std::string& host) const OVERRIDE; |
- virtual void SetZoomLevel(const std::string& host, double level) OVERRIDE; |
+ virtual double GetZoomLevel(const std::string& scheme, |
+ const std::string& host) const OVERRIDE; |
+ virtual void SetZoomLevel(const std::string& scheme, |
+ const std::string& host, |
+ double level) OVERRIDE; |
virtual double GetDefaultZoomLevel() const OVERRIDE; |
virtual void SetDefaultZoomLevel(double level) OVERRIDE; |
@@ -58,9 +61,11 @@ class CONTENT_EXPORT HostZoomMapImpl : public NON_EXPORTED_BASE(HostZoomMap), |
private: |
typedef std::map<std::string, double> HostZoomLevels; |
+ typedef std::map<std::string, HostZoomLevels> SchemeHostZoomLevels; |
// Copy of the pref data, so that we can read it on the IO thread. |
HostZoomLevels host_zoom_levels_; |
+ SchemeHostZoomLevels scheme_host_zoom_levels_; |
double default_zoom_level_; |
struct TemporaryZoomLevel { |