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

Unified Diff: chrome/browser/net/chrome_net_log_unittest.cc

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/net/chrome_net_log_unittest.cc
===================================================================
--- chrome/browser/net/chrome_net_log_unittest.cc (revision 126703)
+++ chrome/browser/net/chrome_net_log_unittest.cc (working copy)
@@ -37,9 +37,7 @@
};
void AddEvent(ChromeNetLog* net_log) {
- net::NetLog::Source source(net::NetLog::SOURCE_SOCKET, net_log->NextID());
- net_log->AddEntry(net::NetLog::TYPE_SOCKET_ALIVE, base::TimeTicks(),
- source, net::NetLog::PHASE_BEGIN, NULL);
+ net_log->AddGlobalEntry(net::NetLog::TYPE_CANCELLED, NULL);
}
// A thread that waits until an event has been signalled before calling

Powered by Google App Engine
This is Rietveld 408576698