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

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

Issue 2874833002: Don't compile code for desktop zoom or GuestViews on mobile platforms. (Closed)
Patch Set: Rebase. Created 3 years, 7 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
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 8c0106d22c58cb961a929607898d06aa722c1af5..39cf7106fbdcde3f337c6a1ec1f3b4c6d524463d 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -17,7 +17,10 @@
#include "content/public/browser/browser_context.h"
#include "content/public/browser/content_browser_client.h"
+#if !defined(OS_ANDROID)
class ChromeZoomLevelPrefs;
+#endif
+
class DevToolsNetworkControllerHandle;
class ExtensionSpecialStoragePolicy;
class PrefProxyConfigTracker;
@@ -176,10 +179,12 @@ class Profile : public content::BrowserContext {
virtual PrefService* GetPrefs() = 0;
virtual const PrefService* GetPrefs() const = 0;
+#if !defined(OS_ANDROID)
// 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 ChromeZoomLevelPrefs* GetZoomLevelPrefs();
+#endif
// Retrieves a pointer to the PrefService that manages the preferences
// for OffTheRecord Profiles. This PrefService is lazily created the first
@@ -325,9 +330,11 @@ class Profile : public content::BrowserContext {
// Creates an OffTheRecordProfile which points to this Profile.
Profile* CreateOffTheRecordProfile();
+#if !defined(OS_ANDROID)
// Convenience method to retrieve the default zoom level for the default
// storage partition.
double GetDefaultZoomLevelForProfile();
+#endif
protected:
void set_is_guest_profile(bool is_guest_profile) {
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698