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

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

Issue 2597013002: Run clang-format on ui/webui/resources (Closed)
Patch Set: remove cr_shared_menu.js Created 4 years 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_network_indicator.js
diff --git a/ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js b/ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js
index ac1e7792153cbd40a49ec97a812c4fff4cbc613b..494d6f468d7ccd7be529569f3cb1d7df7cab8d12 100644
--- a/ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js
+++ b/ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js
@@ -51,13 +51,14 @@ Polymer({
// We ignore UserEditable unless there is a UserPolicy.
this.indicatorType = CrPolicyIndicatorType.RECOMMENDED;
this.recommended =
- /** @type {CrOnc.NetworkPropertyType} */(property.UserPolicy);
- } else if (property.DeviceEditable === true &&
- property.hasOwnProperty('DevicePolicy')) {
+ /** @type {CrOnc.NetworkPropertyType} */ (property.UserPolicy);
+ } else if (
+ property.DeviceEditable === true &&
+ property.hasOwnProperty('DevicePolicy')) {
// We ignore DeviceEditable unless there is a DevicePolicy.
this.indicatorType = CrPolicyIndicatorType.RECOMMENDED;
this.recommended =
- /** @type {CrOnc.NetworkPropertyType} */(property.DevicePolicy);
+ /** @type {CrOnc.NetworkPropertyType} */ (property.DevicePolicy);
} else if (effective == 'UserPolicy') {
this.indicatorType = CrPolicyIndicatorType.USER_POLICY;
} else if (effective == 'DevicePolicy') {

Powered by Google App Engine
This is Rietveld 408576698