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

Unified Diff: components/content_settings/core/browser/content_settings_registry_unittest.cc

Issue 2123863004: ScreenCapture for Android phase1, part II (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix problem with adding content setting type Created 4 years, 5 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: components/content_settings/core/browser/content_settings_registry_unittest.cc
diff --git a/components/content_settings/core/browser/content_settings_registry_unittest.cc b/components/content_settings/core/browser/content_settings_registry_unittest.cc
index 7b8d66203ce9c25c99768f1a023cb4cbb5ff8bd0..0cc70856684f3232fbd407934cd2f9e20198a710 100644
--- a/components/content_settings/core/browser/content_settings_registry_unittest.cc
+++ b/components/content_settings/core/browser/content_settings_registry_unittest.cc
@@ -52,6 +52,11 @@ TEST_F(ContentSettingsRegistryTest, GetPlatformDependent) {
registry()->Get(CONTENT_SETTINGS_TYPE_PROTECTED_MEDIA_IDENTIFIER));
#endif
+#if defined(OS_ANDROID)
+ // Media stream screen only gets registered on android.
+ EXPECT_TRUE(registry()->Get(CONTENT_SETTINGS_TYPE_MEDIASTREAM_SCREEN));
+#endif
raymes 2016/07/13 02:44:09 nit: this should have an #else too (as above)
braveyao 2016/07/13 19:51:57 Done.
+
// Cookies is registered on all platforms.
EXPECT_TRUE(registry()->Get(CONTENT_SETTINGS_TYPE_COOKIES));
}

Powered by Google App Engine
This is Rietveld 408576698