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

Unified Diff: ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js

Issue 2708013003: [MD settings] show icon when content settings are controlled by an extension (Closed)
Patch Set: unit test fix 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
« no previous file with comments | « ui/webui/resources/cr_elements/policy/cr_policy_pref_behavior.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js
diff --git a/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js b/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js
index 532b076333e21247fa4e7a56c16edb6a06a77d41..99d5b082bfc9361578d1fadeae1497f88e8da27f 100644
--- a/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js
+++ b/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js
@@ -48,6 +48,8 @@ Polymer({
return CrPolicyIndicatorType.RECOMMENDED;
if (enforcement == chrome.settingsPrivate.Enforcement.ENFORCED) {
switch (controlledBy) {
+ case chrome.settingsPrivate.ControlledBy.EXTENSION:
+ return CrPolicyIndicatorType.EXTENSION;
case chrome.settingsPrivate.ControlledBy.PRIMARY_USER:
return CrPolicyIndicatorType.PRIMARY_USER;
case chrome.settingsPrivate.ControlledBy.OWNER:
« no previous file with comments | « ui/webui/resources/cr_elements/policy/cr_policy_pref_behavior.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698