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

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

Issue 2686063004: MD Settings: make blowing away per-origin data (i.e. cookies) easier (Closed)
Patch Set: dschuyler@ review 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_data_test.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 b350452afe04b85c1e882151411ffd68965b4970..49fae5140d66cc2cb45fdde44c7c941c1fb6ae15 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
@@ -53,6 +53,8 @@ var TestSiteSettingsPrefsBrowserProxy = function() {
'getExceptionList',
'observeProtocolHandlers',
'observeProtocolHandlersEnabledState',
+ 'reloadCookies',
+ 'removeCookie',
'removeProtocolHandler',
'removeUsbDevice',
'removeZoomLevel',
@@ -245,6 +247,16 @@ TestSiteSettingsPrefsBrowserProxy.prototype = {
},
/** @override */
+ reloadCookies: function() {
+ return Promise.resolve({id: null, children: []});
+ },
+
+ /** @override */
+ removeCookie: function(path) {
+ this.methodCalled('removeCookie', path);
+ },
+
+ /** @override */
removeZoomLevel: function(host) {
this.methodCalled('removeZoomLevel', [host]);
},
« no previous file with comments | « chrome/test/data/webui/settings/site_data_test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698