Index: chrome/browser/content_settings/host_content_settings_map_unittest.cc |
diff --git a/chrome/browser/content_settings/host_content_settings_map_unittest.cc b/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
index 6ec5c367483b703c903479779ed5c67ed9f3ebfd..001ca3b2219b4f72803a21af03d090ceda02278f 100644 |
--- a/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
+++ b/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
@@ -961,6 +961,16 @@ TEST_F(HostContentSettingsMapTest, IsSettingAllowedForType) { |
prefs, CONTENT_SETTING_ASK, |
CONTENT_SETTINGS_TYPE_FULLSCREEN)); |
+ EXPECT_FALSE(HostContentSettingsMap::IsSettingAllowedForType( |
+ prefs, CONTENT_SETTING_ALLOW, |
+ CONTENT_SETTINGS_TYPE_MEDIASTREAM)); |
+ EXPECT_FALSE(HostContentSettingsMap::IsSettingAllowedForType( |
+ prefs, CONTENT_SETTING_ASK, |
+ CONTENT_SETTINGS_TYPE_MEDIASTREAM)); |
+ EXPECT_FALSE(HostContentSettingsMap::IsSettingAllowedForType( |
+ prefs, CONTENT_SETTING_BLOCK, |
+ CONTENT_SETTINGS_TYPE_MEDIASTREAM)); |
+ |
// TODO(msramek): Add more checks for setting type - setting pairs where |
// it is not obvious whether or not they are allowed. |
} |