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

Unified Diff: chrome/browser/resources/md_history/list_container.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/list_container.js
diff --git a/chrome/browser/resources/md_history/list_container.js b/chrome/browser/resources/md_history/list_container.js
index 772a9a62ea0ad6aef9992e2ef86f9921f10f1e3d..2999a2ecd23bb99695e3c579d023b6f4d08bdff1 100644
--- a/chrome/browser/resources/md_history/list_container.js
+++ b/chrome/browser/resources/md_history/list_container.js
@@ -6,6 +6,11 @@ Polymer({
is: 'history-list-container',
properties: {
+ canDeleteHistory_: {
+ type: Boolean,
+ value: loadTimeData.getBoolean('allowDeletingHistory'),
+ },
+
/** @type {!QueryState} */
queryState: Object,
@@ -210,9 +215,4 @@ Polymer({
getSelectedList_: function() {
return this.$['infinite-list'];
},
-
- /** @private */
- canDeleteHistory_: function() {
- return loadTimeData.getBoolean('allowDeletingHistory');
- }
});

Powered by Google App Engine
This is Rietveld 408576698