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

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

Issue 2682293002: Add desktop UI for the subresource filter content setting. (Closed)
Patch Set: . Created 3 years, 9 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/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 6fe9b1ca4a670e19f9e30d280c432135acc73109..aa87d089aefd9b993a1eb554a34b74c14956a316 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
@@ -20,6 +20,7 @@ var prefsEmpty = {
plugins: '',
popups: '',
unsandboxed_plugins: '',
+ subresource_filter: '',
},
exceptions: {
auto_downloads: [],
@@ -34,6 +35,7 @@ var prefsEmpty = {
plugins: [],
popups: [],
unsandboxed_plugins: [],
+ subresource_filter: [],
},
};
@@ -227,6 +229,8 @@ TestSiteSettingsPrefsBrowserProxy.prototype = {
pref = this.prefs_.exceptions.popups;
else if (contentType == settings.ContentSettingsTypes.UNSANDBOXED_PLUGINS)
pref = this.prefs_.exceptions.unsandboxed_plugins;
+ else if (contentType == settings.ContentSettingsTypes.SUBRESOURCE_FILTER)
+ pref = this.prefs_.exceptions.subresource_filer;
else
console.log('getExceptionList received unknown category: ' + contentType);

Powered by Google App Engine
This is Rietveld 408576698