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

Unified Diff: chrome/browser/resources/settings/internet_page/internet_detail_page.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/internet_page/internet_detail_page.js
diff --git a/chrome/browser/resources/settings/internet_page/internet_detail_page.js b/chrome/browser/resources/settings/internet_page/internet_detail_page.js
index f696cb5b995f194d279f4e151180294955f1abd1..ce8553d223b4e417441cc36678ed3c30df158512 100644
--- a/chrome/browser/resources/settings/internet_page/internet_detail_page.js
+++ b/chrome/browser/resources/settings/internet_page/internet_detail_page.js
@@ -242,8 +242,8 @@ Polymer({
button.focus();
}
- if (this.shoudlShowConfigureWhenNetworkLoaded_
- && this.networkProperties.Tether) {
+ if (this.shoudlShowConfigureWhenNetworkLoaded_ &&
+ this.networkProperties.Tether) {
this.showTetherDialog_();
}
},
@@ -567,9 +567,10 @@ Polymer({
/** @private */
onTetherConnect_: function() {
this.getTetherDialog_().close();
- this.fire('network-connect',
- {networkProperties: this.networkProperties,
- bypassConnectionDialog: true});
+ this.fire('network-connect', {
+ networkProperties: this.networkProperties,
+ bypassConnectionDialog: true
+ });
},
/** @private */
@@ -974,8 +975,7 @@ Polymer({
* @private
*/
showCellularSim_: function(networkProperties) {
- if (networkProperties.Type != 'Cellular' ||
- !networkProperties.Cellular) {
+ if (networkProperties.Type != 'Cellular' || !networkProperties.Cellular) {
return false;
}
return networkProperties.Cellular.Family == 'GSM';

Powered by Google App Engine
This is Rietveld 408576698