| 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 a0ef8dcfb2b39b8521082569b4ef138385144345..46d3bfa7d967b60e6fb2799a3834465d6bdb94a6 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
|
| @@ -50,7 +50,8 @@ var TestSiteSettingsPrefsBrowserProxy = function() {
|
| 'fetchZoomLevels',
|
| 'getDefaultValueForContentType',
|
| 'getExceptionList',
|
| - 'initializeProtocolHandlerList',
|
| + 'observeProtocolHandlers',
|
| + 'observeProtocolHandlersEnabledState',
|
| 'removeProtocolHandler',
|
| 'removeUsbDevice',
|
| 'removeZoomLevel',
|
| @@ -241,10 +242,16 @@ TestSiteSettingsPrefsBrowserProxy.prototype = {
|
| },
|
|
|
| /** @override */
|
| - initializeProtocolHandlerList: function() {
|
| + observeProtocolHandlers: function() {
|
| cr.webUIListenerCallback('setHandlersEnabled', true);
|
| cr.webUIListenerCallback('setProtocolHandlers', this.protocolHandlers_);
|
| - this.methodCalled('initializeProtocolHandlerList');
|
| + this.methodCalled('observeProtocolHandlers');
|
| + },
|
| +
|
| + /** @override */
|
| + observeProtocolHandlersEnabledState: function() {
|
| + cr.webUIListenerCallback('setHandlersEnabled', true);
|
| + this.methodCalled('observeProtocolHandlersEnabledState');
|
| },
|
|
|
| /** @override */
|
|
|