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

Unified Diff: chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js

Issue 2248683006: Site Settings Desktop: Implement individual cookie removal and RemoveAll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
Index: chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js
diff --git a/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js b/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js
index 37fcce621cb05d7fdcbcba6bb1795f0c0662f0b9..d3bd96ecfe2099f3ff6f724beab1089c11e8d8f3 100644
--- a/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js
+++ b/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js
@@ -135,6 +135,11 @@ cr.define('settings', function() {
removeCookie: function(path) {},
/**
+ * Removes all cookies.
+ */
+ removeAllCookies: function() {},
+
+ /**
* Initializes the protocol handler list. List is returned through JS calls
* to setHandlersEnabled, setProtocolHandlers & setIgnoredProtocolHandlers.
*/
@@ -232,6 +237,12 @@ cr.define('settings', function() {
chrome.send('removeCookie', [path]);
},
+ /** @override */
+ removeAllCookies: function() {
+ chrome.send('removeAllCookies');
+ },
+
+
initializeProtocolHandlerList: function() {
chrome.send('initializeProtocolHandlerList');
},

Powered by Google App Engine
This is Rietveld 408576698