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

Unified Diff: chrome/browser/resources/settings/site_settings/site_settings_behavior.js

Issue 2902313002: [MD settings] show controlledBy icon for HostApp and platform_app exceptions (Closed)
Patch Set: added braces Created 3 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/site_settings/site_settings_behavior.js
diff --git a/chrome/browser/resources/settings/site_settings/site_settings_behavior.js b/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
index 5a33742a41383f8ecb8cd5f3c9a63e58f5e841a8..318bbd5f2d69a065d3562140780fd403881ddcd7 100644
--- a/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
+++ b/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
@@ -168,8 +168,10 @@ var SiteSettingsBehaviorImpl = {
}
var enforcement = '';
- if (exception.source == 'policy' || exception.source == 'extension')
+ if (exception.source == 'extension' || exception.source == 'HostedApp' ||
+ exception.source == 'platform_app' || exception.source == 'policy') {
enforcement = chrome.settingsPrivate.Enforcement.ENFORCED;
+ }
var controlledBy = kControlledByLookup[exception.source] || '';
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698