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

Side by Side Diff: chrome/browser/resources/settings/internet_page/network_property_list.js

Issue 2946563002: Run clang-format on .js files in c/b/r/settings (Closed)
Patch Set: dschuyler@ review Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Polymer element for displaying a list of network properties 6 * @fileoverview Polymer element for displaying a list of network properties
7 * in a list. This also supports editing fields inline for fields listed in 7 * in a list. This also supports editing fields inline for fields listed in
8 * editFieldTypes. 8 * editFieldTypes.
9 */ 9 */
10 Polymer({ 10 Polymer({
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 return this.i18n('OncTether-SignalStrength_Okay'); 197 return this.i18n('OncTether-SignalStrength_Okay');
198 if (value <= 74) 198 if (value <= 74)
199 return this.i18n('OncTether-SignalStrength_Good'); 199 return this.i18n('OncTether-SignalStrength_Good');
200 if (value <= 99) 200 if (value <= 99)
201 return this.i18n('OncTether-SignalStrength_Strong'); 201 return this.i18n('OncTether-SignalStrength_Strong');
202 return this.i18n('OncTether-SignalStrength_VeryStrong'); 202 return this.i18n('OncTether-SignalStrength_VeryStrong');
203 } 203 }
204 204
205 if (key == 'Tether.Carrier') { 205 if (key == 'Tether.Carrier') {
206 assert(typeof value == 'string'); 206 assert(typeof value == 'string');
207 return (!value || value == 'unknown-carrier') 207 return (!value || value == 'unknown-carrier') ?
208 ? this.i18n('tetherUnknownCarrier') 208 this.i18n('tetherUnknownCarrier') :
209 : value; 209 value;
210 } 210 }
211 211
212 return ''; 212 return '';
213 }, 213 },
214 }); 214 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698