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

Unified Diff: chrome/browser/resources/settings/controls/controlled_radio_button.js

Issue 2520573002: MD Settings: implement support for extension-controlled startup URLs (Closed)
Patch Set: Created 4 years, 1 month 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/settings/controls/controlled_radio_button.js
diff --git a/chrome/browser/resources/settings/controls/controlled_radio_button.js b/chrome/browser/resources/settings/controls/controlled_radio_button.js
index cf697206d0d34ec9b661ceb0f252fcac6ccd2ee7..516efb0db75cac11d387de3ed87c46ae0b068b2d 100644
--- a/chrome/browser/resources/settings/controls/controlled_radio_button.js
+++ b/chrome/browser/resources/settings/controls/controlled_radio_button.js
@@ -30,7 +30,7 @@ Polymer({
* @private
*/
computeControlled_: function() {
- return this.isPrefPolicyControlled(assert(this.pref));
+ return this.pref.enforcement == chrome.settingsPrivate.Enforcement.ENFORCED;
dpapad 2016/11/18 23:46:28 This is subtle. What is the difference between |pr
Dan Beam 2016/11/18 23:51:04 the code you're looking at is outdated, there's on
dpapad 2016/11/19 00:20:15 Ok. I am slightly confused, so I am going to ask q
Dan Beam 2016/11/19 00:50:05 yes
},
/**

Powered by Google App Engine
This is Rietveld 408576698