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

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: Created 3 years, 11 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 29d065ed2866c47fe252ab512d29426c6cf89b03..42090aa90d8d82d7cd50b26c7e759d2ea2fe203c 100644
--- a/chrome/browser/resources/md_history/history_toolbar.js
+++ b/chrome/browser/resources/md_history/history_toolbar.js
@@ -192,14 +192,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) : '';

Powered by Google App Engine
This is Rietveld 408576698