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

Unified Diff: chrome/browser/content_settings/host_content_settings_map_unittest.cc

Issue 2853983002: Ensure settings returned from Content Settings providers are valid (Closed)
Patch Set: Ensure settings returned from Content Settings providers are valid 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: 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 ac80c5297602fc0f7456bd812dee414b4916e2f1..8452a8af5ec6dbf943f7ccbc2ae115c0b3eb894f 100644
--- a/chrome/browser/content_settings/host_content_settings_map_unittest.cc
+++ b/chrome/browser/content_settings/host_content_settings_map_unittest.cc
@@ -1220,13 +1220,6 @@ TEST_F(HostContentSettingsMapTest, GetContentSetting) {
embedder, host, CONTENT_SETTINGS_TYPE_COOKIES, std::string()));
}
-TEST_F(HostContentSettingsMapTest, IsDefaultSettingAllowedForType) {
- EXPECT_FALSE(HostContentSettingsMap::IsDefaultSettingAllowedForType(
- CONTENT_SETTING_ALLOW, CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC));
- EXPECT_FALSE(HostContentSettingsMap::IsDefaultSettingAllowedForType(
- CONTENT_SETTING_ALLOW, CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA));
-}
-
TEST_F(HostContentSettingsMapTest, AddContentSettingsObserver) {
TestingProfile profile;
HostContentSettingsMap* host_content_settings_map =

Powered by Google App Engine
This is Rietveld 408576698