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..ac02c800321f10395a3ac66963bf2f38b4bec0ec 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,13 @@ 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)); |
+#else |
+ EXPECT_FALSE(registry()->Get(CONTENT_SETTINGS_TYPE_MEDIASTREAM_SCREEN)); |
+#endif |
+ |
// Cookies is registered on all platforms. |
EXPECT_TRUE(registry()->Get(CONTENT_SETTINGS_TYPE_COOKIES)); |
} |