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

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

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 6 years, 4 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_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index 3869b9af53ecb3d438867be113492ca6375c7575..5c223d35cbe2aa41f6325ca9a3419267de94c809 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -75,6 +75,9 @@ class ProfileImpl : public Profile {
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
// content::BrowserContext implementation:
+ virtual double GetDefaultZoomLevel() const OVERRIDE;
+ virtual content::ZoomLevelPrefsDelegate* CreateZoomLevelPrefsDelegate()
+ OVERRIDE;
virtual base::FilePath GetPath() const OVERRIDE;
virtual content::DownloadManagerDelegate*
GetDownloadManagerDelegate() OVERRIDE;
@@ -172,8 +175,6 @@ class ProfileImpl : public Profile {
// Does final initialization. Should be called after prefs were loaded.
void DoFinalInit();
- void InitHostZoomMap();
-
void OnDefaultZoomLevelChanged();
void OnZoomLevelChanged(
const content::HostZoomMap::ZoomLevelChange& change);

Powered by Google App Engine
This is Rietveld 408576698