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

Unified Diff: chrome/browser/profiles/profile.h

Issue 541103002: Introduce ChromeZoomLevelPref, make zoom level prefs independent of profile prefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revised Created 6 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: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 87a4c5fd6c31906e0bcfbec6026d9a7c52d9360e..295c921d77e69bbf6b7c91ac575aee8302f90a33 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -36,6 +36,10 @@ class SequencedTaskRunner;
class Time;
}
+namespace chrome {
+class ChromeZoomLevelPrefs;
+}
+
namespace chrome_browser_net {
class Predictor;
}
@@ -218,6 +222,11 @@ class Profile : public content::BrowserContext {
// preferences for this user profile.
virtual PrefService* GetPrefs() = 0;
+ // Retrieves a pointer to the PrefService that manages the default zoom
+ // level and the per-host zoom levels for this user profile.
+ // TODO(wjmaclean): Remove this when HostZoomMap migrates to StoragePartition.
+ virtual chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs();
+
// Retrieves a pointer to the PrefService that manages the preferences
// for OffTheRecord Profiles. This PrefService is lazily created the first
// time that this method is called.

Powered by Google App Engine
This is Rietveld 408576698