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

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

Issue 9585026: Add a source id to global NetLog entries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Move friend declaration Created 8 years, 9 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_tracker.js
===================================================================
--- chrome/browser/resources/net_internals/source_tracker.js (revision 126703)
+++ chrome/browser/resources/net_internals/source_tracker.js (working copy)
@@ -89,6 +89,8 @@
var logEntry = logEntries[e];
// Assign unique ID, if needed.
+ // TODO(mmenke): Remove this, and all other code to handle 0 source
+ // IDs when M19 hits stable.
if (logEntry.source.id == 0) {
logEntry.source.id = this.nextSourcelessEventId_;
--this.nextSourcelessEventId_;

Powered by Google App Engine
This is Rietveld 408576698