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

Unified Diff: chrome/browser/resources/extensions/extension_list.js

Issue 925563002: Supervised users: Slightly relax restrictions around extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@test_ext_install_disable
Patch Set: rebase 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/extensions/extension_list.js
diff --git a/chrome/browser/resources/extensions/extension_list.js b/chrome/browser/resources/extensions/extension_list.js
index 6bd4f0a69e3ec1bfb0eb28ab9d835fda1754e6e6..008a990754a24175ea472eb453f2ebfa7f616932 100644
--- a/chrome/browser/resources/extensions/extension_list.js
+++ b/chrome/browser/resources/extensions/extension_list.js
@@ -29,6 +29,7 @@
* icon: string,
* id: string,
* incognitoCanBeEnabled: boolean,
+ * installedByCustodian: boolean,
* installWarnings: (Array|undefined),
* is_hosted_app: boolean,
* is_platform_app: boolean,
@@ -433,6 +434,7 @@ cr.define('options', function() {
extension.suspiciousInstall ||
extension.corruptInstall ||
extension.updateRequiredByPolicy ||
+ extension.installedByCustodian ||
extension.dependentExtensions.length > 0;
item.querySelector('input').disabled = enableCheckboxDisabled;
item.querySelector('input').checked = extension.enabled;
« no previous file with comments | « chrome/browser/extensions/extension_util.cc ('k') | chrome/browser/supervised_user/supervised_user_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698