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

Unified Diff: chrome/browser/resources/md_history/side_bar.js

Issue 2137903002: MD History: Change how Clear Browsing Data is opened (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use browser service Created 4 years, 5 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/browser/resources/md_history/side_bar.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/side_bar.js
diff --git a/chrome/browser/resources/md_history/side_bar.js b/chrome/browser/resources/md_history/side_bar.js
index 46291206a7a946a275ea1f235efa49181c46a74d..46cedad31c4a183b359ef3d3c75b611e27964c2d 100644
--- a/chrome/browser/resources/md_history/side_bar.js
+++ b/chrome/browser/resources/md_history/side_bar.js
@@ -36,6 +36,6 @@ Polymer({
* @private
*/
onClearBrowsingDataTap_: function() {
- window.location.href = 'chrome://settings/clearBrowserData';
+ md_history.BrowserService.getInstance().openClearBrowsingData();
},
});
« no previous file with comments | « chrome/browser/resources/md_history/side_bar.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698