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

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

Issue 1320673013: Remove HostContentSettingsMap::IsSettingAllowedForType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-issetting-allowed
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/content_settings/host_content_settings_map_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/content_settings/content_settings_pref_provider_unittest.cc
diff --git a/chrome/browser/content_settings/content_settings_pref_provider_unittest.cc b/chrome/browser/content_settings/content_settings_pref_provider_unittest.cc
index af10b4bd3d5688109a34f61eb5bf36af9e502cb1..85a30726e4f25ce90f807bb183612eb7df4afc0b 100644
--- a/chrome/browser/content_settings/content_settings_pref_provider_unittest.cc
+++ b/chrome/browser/content_settings/content_settings_pref_provider_unittest.cc
@@ -390,40 +390,6 @@ TEST_F(PrefProviderTest, ResourceIdentifier) {
pref_content_settings_provider.ShutdownOnUIThread();
}
-TEST_F(PrefProviderTest, AutoSubmitCertificateContentSetting) {
- TestingProfile profile;
- syncable_prefs::TestingPrefServiceSyncable* prefs =
- profile.GetTestingPrefService();
- GURL primary_url("https://www.example.com");
- GURL secondary_url("https://www.sample.com");
-
- PrefProvider provider(prefs, false);
-
- EXPECT_EQ(CONTENT_SETTING_DEFAULT,
- GetContentSetting(
- &provider,
- primary_url,
- primary_url,
- CONTENT_SETTINGS_TYPE_AUTO_SELECT_CERTIFICATE,
- std::string(),
- false));
-
- provider.SetWebsiteSetting(ContentSettingsPattern::FromURL(primary_url),
- ContentSettingsPattern::Wildcard(),
- CONTENT_SETTINGS_TYPE_AUTO_SELECT_CERTIFICATE,
- std::string(),
- new base::FundamentalValue(CONTENT_SETTING_ALLOW));
- EXPECT_EQ(CONTENT_SETTING_ALLOW,
- GetContentSetting(
- &provider,
- primary_url,
- secondary_url,
- CONTENT_SETTINGS_TYPE_AUTO_SELECT_CERTIFICATE,
- std::string(),
- false));
- provider.ShutdownOnUIThread();
-}
-
// http://crosbug.com/17760
TEST_F(PrefProviderTest, Deadlock) {
syncable_prefs::TestingPrefServiceSyncable prefs;
« no previous file with comments | « no previous file | chrome/browser/content_settings/host_content_settings_map_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698