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

Unified Diff: chrome/browser/resources/net_internals/proxy_view.js

Issue 2602473003: Run tools/clang-format-js on chrome/browser/resources/net_internals (Closed)
Patch Set: drop dep Created 3 years, 12 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/net_internals/proxy_view.js
diff --git a/chrome/browser/resources/net_internals/proxy_view.js b/chrome/browser/resources/net_internals/proxy_view.js
index ef9709dde4fc9d0c086107fd6272c6e954c3588d..582f5f9a8b73185811730a7a3689597937b8feab 100644
--- a/chrome/browser/resources/net_internals/proxy_view.js
+++ b/chrome/browser/resources/net_internals/proxy_view.js
@@ -61,7 +61,7 @@ var ProxyView = (function() {
onLoadLogFinish: function(data) {
return this.onProxySettingsChanged(data.proxySettings) &&
- this.onBadProxiesChanged(data.badProxies);
+ this.onBadProxiesChanged(data.badProxies);
},
onProxySettingsChanged: function(proxySettings) {
@@ -80,8 +80,8 @@ var ProxyView = (function() {
var originalStr = proxySettingsToString(original);
var effectiveStr = proxySettingsToString(effective);
- setNodeDisplay($(ProxyView.ORIGINAL_CONTENT_DIV_ID),
- originalStr != effectiveStr);
+ setNodeDisplay(
+ $(ProxyView.ORIGINAL_CONTENT_DIV_ID), originalStr != effectiveStr);
$(ProxyView.ORIGINAL_SETTINGS_DIV_ID).innerText = originalStr;
$(ProxyView.EFFECTIVE_SETTINGS_DIV_ID).innerText = effectiveStr;
@@ -93,8 +93,8 @@ var ProxyView = (function() {
onBadProxiesChanged: function(badProxies) {
$(ProxyView.BAD_PROXIES_TBODY_ID).innerHTML = '';
- setNodeDisplay($(ProxyView.BAD_PROXIES_DIV_ID),
- badProxies && badProxies.length > 0);
+ setNodeDisplay(
+ $(ProxyView.BAD_PROXIES_DIV_ID), badProxies && badProxies.length > 0);
if (!badProxies)
return false;
@@ -130,8 +130,8 @@ var ProxyView = (function() {
// proxy settings include proxy bypasses the user may need to expand the
// exclusions for host resolving.
var hostResolverRules = 'MAP * ~NOTFOUND , EXCLUDE ' + socksProxy.host;
- var hostResolverRulesFlag = '--host-resolver-rules="' +
- hostResolverRules + '"';
+ var hostResolverRulesFlag =
+ '--host-resolver-rules="' + hostResolverRules + '"';
// TODO(eroman): On Linux the ClientInfo.command_line is wrong in that it
// doesn't include any quotes around the parameters. This means the

Powered by Google App Engine
This is Rietveld 408576698