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

Unified Diff: content/public/test/test_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/browser/storage_partition.h ('k') | content/public/test/test_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_browser_context.h
diff --git a/content/public/test/test_browser_context.h b/content/public/test/test_browser_context.h
index 2a2e3e4380065e09887e2db4be12691022beb26b..1f878d3bd305e73932d739925310ee3b1eae3eda 100644
--- a/content/public/test/test_browser_context.h
+++ b/content/public/test/test_browser_context.h
@@ -19,7 +19,9 @@ namespace content {
class MockBackgroundSyncController;
class MockResourceContext;
class MockSSLHostStateDelegate;
+#if !defined(OS_ANDROID)
class ZoomLevelDelegate;
+#endif // !defined(OS_ANDROID)
class TestBrowserContext : public BrowserContext {
public:
@@ -42,8 +44,10 @@ class TestBrowserContext : 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/browser/storage_partition.h ('k') | content/public/test/test_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698