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 ac4e2d2b9cf910125f14677fb7c19063ba047f9a..edffe7e930165199f10f675e1845c8fcd55e9444 100644 |
--- a/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
+++ b/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
@@ -615,6 +615,14 @@ TEST_F(HostContentSettingsMapTest, ResourceIdentifier) { |
EXPECT_EQ(CONTENT_SETTING_ALLOW, |
host_content_settings_map->GetContentSetting( |
host, CONTENT_SETTINGS_TYPE_PLUGINS, resource2)); |
+ |
+ // If resource content settings are enable GetContentSettings should return |
Bernhard Bauer
2011/02/07 09:46:46
Nit: "enabled"
markusheintz_
2011/02/07 15:57:10
Done.
|
+ // CONTENT_SETTING_DEFAULT for content types that require resource |
+ // identifiers. |
+ ContentSettings settings = |
+ host_content_settings_map->GetContentSettings(host); |
+ EXPECT_EQ(CONTENT_SETTING_DEFAULT, |
+ settings.settings[CONTENT_SETTINGS_TYPE_PLUGINS]); |
} |
TEST_F(HostContentSettingsMapTest, ResourceIdentifierPrefs) { |