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

Unified Diff: net/quic/chromium/quic_stream_factory.cc

Issue 2533953005: Standardize "net" category trace events (Closed)
Patch Set: Rebased Created 4 years 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
« no previous file with comments | « net/proxy/proxy_resolver_v8_tracing.cc ('k') | net/socket/client_socket_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/chromium/quic_stream_factory.cc
diff --git a/net/quic/chromium/quic_stream_factory.cc b/net/quic/chromium/quic_stream_factory.cc
index 0563a5373d1b78d3a71a20f5cdb1db1514a29406..e9e1598900a5bb53a6f7255194719112cf6c38e2 100644
--- a/net/quic/chromium/quic_stream_factory.cc
+++ b/net/quic/chromium/quic_stream_factory.cc
@@ -25,6 +25,7 @@
#include "net/base/ip_address.h"
#include "net/base/net_errors.h"
#include "net/base/proxy_delegate.h"
+#include "net/base/trace_constants.h"
#include "net/cert/cert_verifier.h"
#include "net/cert/ct_verifier.h"
#include "net/dns/host_resolver.h"
@@ -400,7 +401,7 @@ int QuicStreamFactory::Job::Run(const CompletionCallback& callback) {
}
int QuicStreamFactory::Job::DoLoop(int rv) {
- TRACE_EVENT0("net", "QuicStreamFactory::Job::DoLoop");
+ TRACE_EVENT0(kNetTracingCategory, "QuicStreamFactory::Job::DoLoop");
do {
IoState state = io_state_;
io_state_ = STATE_NONE;
@@ -1612,7 +1613,7 @@ int QuicStreamFactory::CreateSession(
need_to_evaluate_consecutive_disabled_count_ = false;
}
- TRACE_EVENT0("net", "QuicStreamFactory::CreateSession");
+ TRACE_EVENT0(kNetTracingCategory, "QuicStreamFactory::CreateSession");
IPEndPoint addr = *address_list.begin();
const QuicServerId& server_id = key.server_id();
DatagramSocket::BindType bind_type = DatagramSocket::DEFAULT_BIND;
« no previous file with comments | « net/proxy/proxy_resolver_v8_tracing.cc ('k') | net/socket/client_socket_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698