Chromium Code Reviews| 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 83f02809fa6e3c89e6a478123b6d1c9651161df5..82fd3e8c27cab1ea645ac7e492304d079fd12c2f 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 |
| @@ -52,6 +52,8 @@ var TestSiteSettingsPrefsBrowserProxy = function() { |
| 'getExceptionList', |
| 'observeProtocolHandlers', |
| 'observeProtocolHandlersEnabledState', |
| + 'reloadCookies', |
| + 'removeCookie', |
| 'removeProtocolHandler', |
| 'removeUsbDevice', |
| 'removeZoomLevel', |
| @@ -228,6 +230,16 @@ TestSiteSettingsPrefsBrowserProxy.prototype = { |
| }, |
| /** @override */ |
| + reloadCookies: function() { |
| + return Promise.resolve({id: null, children: []}); |
|
dschuyler
2017/02/13 20:14:35
Would it make sense to define a private var around
Dan Beam
2017/02/14 04:14:04
not until the setter would be used, no
|
| + }, |
| + |
| + /** @override */ |
| + removeCookie: function(path) { |
| + this.methodCalled('removeCookie', path); |
| + }, |
| + |
| + /** @override */ |
| removeZoomLevel: function(host) { |
| this.methodCalled('removeZoomLevel', [host]); |
| }, |