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

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

Issue 2672723002: [MD History] Disable Clear Browsing Data button for supervised users. (Closed)
Patch Set: fix_test 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
Index: chrome/browser/resources/md_history/history_toolbar.js
diff --git a/chrome/browser/resources/md_history/history_toolbar.js b/chrome/browser/resources/md_history/history_toolbar.js
index e28bbaf05331f0d58c1ff972e51f956f5daa1124..2a42bd58ebb96704aee198d559a25a5c812e5139 100644
--- a/chrome/browser/resources/md_history/history_toolbar.js
+++ b/chrome/browser/resources/md_history/history_toolbar.js
@@ -178,14 +178,6 @@ Polymer({
this.fire('delete-selected');
},
- /**
- * If the user is a supervised user the delete button is not shown.
- * @private
- */
- deletingAllowed_: function() {
- return loadTimeData.getBoolean('allowDeletingHistory');
- },
-
/** @private */
numberOfItemsSelected_: function(count) {
return count > 0 ? loadTimeData.getStringF('itemsSelected', count) : '';
« no previous file with comments | « chrome/browser/resources/md_history/history_item.js ('k') | chrome/browser/resources/md_history/list_container.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698