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

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: 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..931442e7681cc7805ff8984b84594b5a00658c65 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -218,6 +218,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 PrefService* 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