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

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, 8 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 6b07d537d453c8ef6abc7a22aa97ff0c3f727cc6..5a019a4b6893081bc57d28b189ef53b52eff7857 100644
--- a/chrome/browser/content_settings/host_content_settings_map_unittest.cc
+++ b/chrome/browser/content_settings/host_content_settings_map_unittest.cc
@@ -1221,13 +1221,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