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

Unified Diff: chrome/browser/resources/net_internals/source_entry.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/source_entry.js
diff --git a/chrome/browser/resources/net_internals/source_entry.js b/chrome/browser/resources/net_internals/source_entry.js
index bca0e04b1103a339d665f16731377ca34995fb28..f48e6b0695184896e0102708d8737592849a764b 100644
--- a/chrome/browser/resources/net_internals/source_entry.js
+++ b/chrome/browser/resources/net_internals/source_entry.js
@@ -31,8 +31,7 @@ var SourceEntry = (function() {
SourceEntry.prototype = {
update: function(logEntry) {
// Only the last event should have the same type first event,
- if (!this.isInactive_ &&
- logEntry.phase == EventPhase.PHASE_END &&
+ if (!this.isInactive_ && logEntry.phase == EventPhase.PHASE_END &&
logEntry.type == this.entries_[0].type) {
this.isInactive_ = true;
}
@@ -199,8 +198,7 @@ var SourceEntry = (function() {
}
if (this.entries_[0].source.type == EventSourceType.DOWNLOAD) {
// If any rename occurred, use the last name
- e = this.findLastLogEntryStartByType_(
- EventType.DOWNLOAD_FILE_RENAMED);
+ e = this.findLastLogEntryStartByType_(EventType.DOWNLOAD_FILE_RENAMED);
if (e != undefined)
return e;
// Otherwise, if the file was opened, use that name
@@ -343,10 +341,10 @@ var SourceEntry = (function() {
*/
createTablePrinter: function() {
return createLogEntryTablePrinter(
- this.entries_,
- SourceTracker.getInstance().getPrivacyStripping(),
+ this.entries_, SourceTracker.getInstance().getPrivacyStripping(),
SourceTracker.getInstance().getUseRelativeTimes() ?
- timeutil.getBaseTime() : 0,
+ timeutil.getBaseTime() :
+ 0,
Constants.clientInfo.numericDate);
},
};

Powered by Google App Engine
This is Rietveld 408576698