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

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: Convert to using only profile prefs. Created 6 years, 3 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..a1da381c08329f1a991ce18159d5cf3b7f68f194 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -40,6 +40,10 @@ namespace chrome_browser_net {
class Predictor;
}
+namespace chrome {
Bernhard Bauer 2014/10/01 15:09:14 Nit: I'm not sure exactly why, but I feel like thi
wjmaclean 2014/10/01 20:32:59 You're right ... sorting order is wrong here ... f
+class ChromeZoomLevelPrefs;
+}
+
namespace chromeos {
class LibCrosServiceLibraryImpl;
class ResetDefaultProxyConfigServiceTask;
@@ -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