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

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

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to r288093. 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/off_the_record_profile_impl.h
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.h b/chrome/browser/profiles/off_the_record_profile_impl.h
index 0eaf87f3491942b1f9dcc167c0dbe5935630abf1..fb86d4620865c8e0f4b4935bd900af0cf825e04a 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.h
+++ b/chrome/browser/profiles/off_the_record_profile_impl.h
@@ -13,7 +13,6 @@
#include "chrome/browser/ui/browser_list.h"
#include "components/domain_reliability/clear_mode.h"
#include "content/public/browser/content_browser_client.h"
-#include "content/public/browser/host_zoom_map.h"
using base::Time;
using base::TimeDelta;
@@ -86,6 +85,7 @@ class OffTheRecordProfileImpl : public Profile {
virtual GURL GetHomePage() OVERRIDE;
// content::BrowserContext implementation:
+ virtual double GetDefaultZoomLevel() const OVERRIDE;
virtual base::FilePath GetPath() const OVERRIDE;
virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE;
virtual bool IsOffTheRecord() const OVERRIDE;
@@ -110,13 +110,11 @@ class OffTheRecordProfileImpl : public Profile {
private:
FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap);
void InitIoData();
- void InitHostZoomMap();
#if defined(OS_ANDROID) || defined(OS_IOS)
void UseSystemProxy();
#endif // defined(OS_ANDROID) || defined(OS_IOS)
- void OnZoomLevelChanged(const content::HostZoomMap::ZoomLevelChange& change);
PrefProxyConfigTracker* CreateProxyConfigTracker();
// The real underlying profile.
@@ -137,8 +135,6 @@ class OffTheRecordProfileImpl : public Profile {
scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
- scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_;
-
DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
};

Powered by Google App Engine
This is Rietveld 408576698