| Index: chrome/browser/resources/options/content_settings.js
|
| diff --git a/chrome/browser/resources/options/content_settings.js b/chrome/browser/resources/options/content_settings.js
|
| index 33cac98257f4c9a08e87a3fa3c3db94a921c6203..2545f8366e1399d568cb04b6dd5203ecb92788e2 100644
|
| --- a/chrome/browser/resources/options/content_settings.js
|
| +++ b/chrome/browser/resources/options/content_settings.js
|
| @@ -131,6 +131,18 @@ cr.define('options', function() {
|
| };
|
|
|
| /**
|
| + * Updates UI to enable/disable user preference exceptions for a particular
|
| + * content setting.
|
| + * @param {string} type The content settings type being updated.
|
| + * @param {boolean} maybeEnableEdit Whether user may view/edit exceptions.
|
| + */
|
| + ContentSettings.setAllowEnablePrefExceptions = function(type,
|
| + maybeEnableEdit) {
|
| + // Update exceptions UI window.
|
| + this.getExceptionsList(type, 'normal').setAllowEnableEdit(maybeEnableEdit);
|
| + };
|
| +
|
| + /**
|
| * Initializes an exceptions list.
|
| * @param {string} type The content type that we are setting exceptions for.
|
| * @param {Array<options.Exception>} exceptions An array of pairs, where the
|
|
|