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

Unified Diff: chrome/browser/resources/about_sys/about_sys.js

Issue 2600683002: Run tools/clang-format-js on some of chrome/browser/resources/ (Closed)
Patch Set: hackhackhack Created 3 years, 11 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/about_sys/about_sys.js
diff --git a/chrome/browser/resources/about_sys/about_sys.js b/chrome/browser/resources/about_sys/about_sys.js
index f6d50fb6323720e4a18e1da3ff67c108fdefa0cf..363a86a0953de37207c9255b5d223ed06a190346 100644
--- a/chrome/browser/resources/about_sys/about_sys.js
+++ b/chrome/browser/resources/about_sys/about_sys.js
@@ -107,7 +107,7 @@ function importLog(file) {
if (parseSystemLog(this.result)) {
// Reset table title and status
$('tableTitle').textContent =
- loadTimeData.getStringF('logFileTableTitle', file.name);
+ loadTimeData.getStringF('logFileTableTitle', file.name);
$('status').textContent = '';
} else {
showError(file.name);
@@ -135,7 +135,7 @@ function parseSystemLog(text) {
var delimiter = lines[i].indexOf('=');
if (delimiter <= 0) {
if (i == lines.length - 1)
- break;
+ break;
// If '=' is missing here, format is wrong.
return false;
}
@@ -151,8 +151,7 @@ function parseSystemLog(text) {
// If these change, we should check for both the old and new versions.
if (value == '<multiline>') {
// Skip start delimiter.
- if (i == len - 1 ||
- lines[++i].indexOf(DELIM_START) == -1)
+ if (i == len - 1 || lines[++i].indexOf(DELIM_START) == -1)
return false;
++i;

Powered by Google App Engine
This is Rietveld 408576698