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

Unified Diff: content/shell/browser/shell_browser_context.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 | « content/public/test/test_browser_context.cc ('k') | content/shell/browser/shell_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_browser_context.h
diff --git a/content/shell/browser/shell_browser_context.h b/content/shell/browser/shell_browser_context.h
index 3f2f502bf2c43c020407f8cbcb81a5cc0d420801..1e8b69b336eadd36b589323bf1f88df4a75fb566 100644
--- a/content/shell/browser/shell_browser_context.h
+++ b/content/shell/browser/shell_browser_context.h
@@ -27,7 +27,9 @@ class BackgroundSyncController;
class DownloadManagerDelegate;
class PermissionManager;
class ShellDownloadManagerDelegate;
+#if !defined(OS_ANDROID)
class ZoomLevelDelegate;
+#endif // !defined(OS_ANDROID)
class ShellBrowserContext : public BrowserContext {
public:
@@ -41,8 +43,10 @@ class ShellBrowserContext : public BrowserContext {
// BrowserContext implementation.
base::FilePath GetPath() const override;
+#if !defined(OS_ANDROID)
std::unique_ptr<ZoomLevelDelegate> CreateZoomLevelDelegate(
const base::FilePath& partition_path) override;
+#endif // !defined(OS_ANDROID)
bool IsOffTheRecord() const override;
DownloadManagerDelegate* GetDownloadManagerDelegate() override;
ResourceContext* GetResourceContext() override;
« no previous file with comments | « content/public/test/test_browser_context.cc ('k') | content/shell/browser/shell_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698