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

Unified Diff: chrome/browser/resources/options/browser_options_profile_list.js

Issue 872263005: Allow supervised users to delete profiles in about:settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 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/options/browser_options_profile_list.js
diff --git a/chrome/browser/resources/options/browser_options_profile_list.js b/chrome/browser/resources/options/browser_options_profile_list.js
index da4fcc3615a3a91ead3862558c4febe3f5a7af1b..81a4181ab97c30ff4d5adccc9c318ef24a2750a4 100644
--- a/chrome/browser/resources/options/browser_options_profile_list.js
+++ b/chrome/browser/resources/options/browser_options_profile_list.js
@@ -102,8 +102,6 @@ cr.define('options.browser_options', function() {
/** @override */
deleteItemAtIndex: function(index) {
- if (loadTimeData.getBoolean('profileIsSupervised'))
- return;
ManageProfileOverlay.showDeleteDialog(this.dataModel.item(index));
},

Powered by Google App Engine
This is Rietveld 408576698