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

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

Issue 2624003003: WebUI: Add cr-policy-pref-indicator tests (Closed)
Patch Set: Feedback 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
Index: ui/webui/resources/cr_elements/policy/cr_policy_pref_behavior.js
diff --git a/ui/webui/resources/cr_elements/policy/cr_policy_pref_behavior.js b/ui/webui/resources/cr_elements/policy/cr_policy_pref_behavior.js
index 47ca23bc2c41c0101f6d27c8aceecf1c1eb72f9c..0fd367c6238f3417266d038abf570cd81053fef5 100644
--- a/ui/webui/resources/cr_elements/policy/cr_policy_pref_behavior.js
+++ b/ui/webui/resources/cr_elements/policy/cr_policy_pref_behavior.js
@@ -18,8 +18,8 @@ var CrPolicyPrefBehavior = {
},
/**
- * @param {chrome.settingsPrivate.ControlledBy} controlledBy
- * @param {chrome.settingsPrivate.Enforcement} enforcement
+ * @param {!chrome.settingsPrivate.ControlledBy|undefined} controlledBy
+ * @param {!chrome.settingsPrivate.Enforcement|undefined} enforcement
* @return {CrPolicyIndicatorType} The indicator type based on |controlledBy|
* and |enforcement|.
*/

Powered by Google App Engine
This is Rietveld 408576698