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

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

Issue 2699793003: MD Settings: Add MIDI devices to Content Settings (Closed)
Patch Set: add icon and fix tests Created 3 years, 10 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 | « chrome/test/data/webui/settings/site_list_tests.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 49fae5140d66cc2cb45fdde44c7c941c1fb6ae15..dd9abed76a8fa03899e486cbb22933541f303d73 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
@@ -15,6 +15,7 @@ var prefsEmpty = {
geolocation: '',
javascript: '',
mic: '',
+ midiDevices: '',
notifications: '',
plugins: '',
popups: '',
@@ -28,6 +29,7 @@ var prefsEmpty = {
geolocation: [],
javascript: [],
mic: [],
+ midiDevices: [],
notifications: [],
plugins: [],
popups: [],
@@ -165,6 +167,8 @@ TestSiteSettingsPrefsBrowserProxy.prototype = {
pref = this.prefs_.defaults.javascript;
} else if (contentType == settings.ContentSettingsTypes.MIC) {
pref = this.prefs_.defaults.mic;
+ } else if (contentType == settings.ContentSettingsTypes.MIDI_DEVICES) {
+ pref = this.prefs_.defaults.midiDevices;
} else if (contentType == settings.ContentSettingsTypes.NOTIFICATIONS) {
pref = this.prefs_.defaults.notifications;
} else if (contentType == settings.ContentSettingsTypes.PDF_DOCUMENTS) {
@@ -205,6 +209,8 @@ TestSiteSettingsPrefsBrowserProxy.prototype = {
pref = this.prefs_.exceptions.javascript;
else if (contentType == settings.ContentSettingsTypes.MIC)
pref = this.prefs_.exceptions.mic;
+ else if (contentType == settings.ContentSettingsTypes.MIDI_DEVICES)
+ pref = this.prefs_.exceptions.midiDevices;
else if (contentType == settings.ContentSettingsTypes.NOTIFICATIONS)
pref = this.prefs_.exceptions.notifications;
else if (contentType == settings.ContentSettingsTypes.PDF_DOCUMENTS)
« no previous file with comments | « chrome/test/data/webui/settings/site_list_tests.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698