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

Unified Diff: chrome/test/base/testing_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/test/BUILD.gn ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile.h
diff --git a/chrome/test/base/testing_profile.h b/chrome/test/base/testing_profile.h
index 5d9bd8a748a41176273dafb16a9e0dea4476b96a..fcb80e07b32453626ef6cdbb88dea69a110db3f8 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -26,7 +26,9 @@ class HostContentSettingsMap;
namespace content {
class MockResourceContext;
class SSLHostStateDelegate;
+#if !defined(OS_ANDROID)
class ZoomLevelDelegate;
+#endif // !defined(OS_ANDROID)
}
namespace net {
@@ -233,8 +235,10 @@ class TestingProfile : public Profile {
// content::BrowserContext
base::FilePath GetPath() const override;
+#if !defined(OS_ANDROID)
std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(
const base::FilePath& partition_path) override;
+#endif // !defined(OS_ANDROID)
scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override;
bool IsOffTheRecord() const override;
content::DownloadManagerDelegate* GetDownloadManagerDelegate() override;
@@ -300,7 +304,9 @@ class TestingProfile : public Profile {
PrefService* GetPrefs() override;
const PrefService* GetPrefs() const override;
+#if !defined(OS_ANDROID)
ChromeZoomLevelPrefs* GetZoomLevelPrefs() override;
+#endif // !defined(OS_ANDROID)
net::URLRequestContextGetter* GetRequestContext() override;
net::URLRequestContextGetter* GetRequestContextForExtensions() override;
net::SSLConfigService* GetSSLConfigService() override;
« no previous file with comments | « chrome/test/BUILD.gn ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698