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

Unified Diff: net/http/http_stream_factory_impl_job.cc

Issue 2533953005: Standardize "net" category trace events (Closed)
Patch Set: self review 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
Index: net/http/http_stream_factory_impl_job.cc
diff --git a/net/http/http_stream_factory_impl_job.cc b/net/http/http_stream_factory_impl_job.cc
index 3190b9141ad97b6d216a1b1295f3edaa475375ab..03e46d05dbe9f71885d89a1c619ddd1d19970826 100644
--- a/net/http/http_stream_factory_impl_job.cc
+++ b/net/http/http_stream_factory_impl_job.cc
@@ -38,6 +38,7 @@
#include "net/log/net_log_event_type.h"
#include "net/log/net_log_source.h"
#include "net/log/net_log_source_type.h"
+#include "net/log/trace_constants.h"
#include "net/quic/chromium/quic_http_stream.h"
#include "net/socket/client_socket_handle.h"
#include "net/socket/client_socket_pool.h"
@@ -500,14 +501,12 @@ int HttpStreamFactoryImpl::Job::OnHostResolution(
}
void HttpStreamFactoryImpl::Job::OnIOComplete(int result) {
- TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("net"),
- "HttpStreamFactoryImpl::Job::OnIOComplete");
+ TRACE_EVENT0(kNetTracingCategory, "HttpStreamFactoryImpl::Job::OnIOComplete");
RunLoop(result);
}
int HttpStreamFactoryImpl::Job::RunLoop(int result) {
- TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("net"),
- "HttpStreamFactoryImpl::Job::RunLoop");
+ TRACE_EVENT0(kNetTracingCategory, "HttpStreamFactoryImpl::Job::RunLoop");
result = DoLoop(result);
if (result == ERR_IO_PENDING)

Powered by Google App Engine
This is Rietveld 408576698