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

Unified Diff: content/public/test/test_browser_context.cc

Issue 2874833002: Don't compile code for desktop zoom or GuestViews on mobile platforms. (Closed)
Patch Set: Update CastBrowserContext 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
Index: content/public/test/test_browser_context.cc
diff --git a/content/public/test/test_browser_context.cc b/content/public/test/test_browser_context.cc
index 3901e7d4203e376cec85d186bd6664cf7a5dae47..6f35b83c289db581df7f3aabafca3d9599513897 100644
--- a/content/public/test/test_browser_context.cc
+++ b/content/public/test/test_browser_context.cc
@@ -78,10 +78,12 @@ base::FilePath TestBrowserContext::GetPath() const {
return browser_context_dir_.GetPath();
}
+#if !defined(OS_ANDROID)
std::unique_ptr<ZoomLevelDelegate> TestBrowserContext::CreateZoomLevelDelegate(
const base::FilePath& partition_path) {
return std::unique_ptr<ZoomLevelDelegate>();
}
+#endif // !defined(OS_ANDROID)
bool TestBrowserContext::IsOffTheRecord() const {
return is_off_the_record_;

Powered by Google App Engine
This is Rietveld 408576698