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

Unified Diff: chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js

Issue 2468363005: [MD settings] show blocked sites even when category is blocked (Closed)
Patch Set: unit test changes Created 4 years, 1 month 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/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js
diff --git a/chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js b/chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js
index 2f4f8eb157c351b0773431c78d08d02d9614d173..66bf6a42050ad48ab88a0ae4b7f5afbf64f25971 100644
--- a/chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js
+++ b/chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js
@@ -126,6 +126,8 @@ TestSiteSettingsPrefsBrowserProxy.prototype = {
pref = this.prefs_.defaults.mic;
} else if (contentType == settings.ContentSettingsTypes.NOTIFICATIONS) {
pref = this.prefs_.defaults.notifications;
+ } else if (contentType == settings.ContentSettingsTypes.PDF_DOCUMENTS) {
+ pref = this.prefs_.defaults.pdf_documents;
} else if (contentType == settings.ContentSettingsTypes.POPUPS) {
pref = this.prefs_.defaults.popups;
} else if (contentType == settings.ContentSettingsTypes.PLUGINS) {
@@ -168,6 +170,8 @@ TestSiteSettingsPrefsBrowserProxy.prototype = {
pref = this.prefs_.exceptions.mic;
else if (contentType == settings.ContentSettingsTypes.NOTIFICATIONS)
pref = this.prefs_.exceptions.notifications;
+ else if (contentType == settings.ContentSettingsTypes.PDF_DOCUMENTS)
+ pref = this.prefs_.exceptions.pdf_documents;
else if (contentType == settings.ContentSettingsTypes.PLUGINS)
pref = this.prefs_.exceptions.plugins;
else if (contentType == settings.ContentSettingsTypes.POPUPS)

Powered by Google App Engine
This is Rietveld 408576698