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

Unified Diff: net/http/http_stream_factory_impl_job.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/http/http_cache_transaction.cc ('k') | net/nqe/network_quality_estimator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..24ddae3a08d724f67b624697bbfc911c487128ca 100644
--- a/net/http/http_stream_factory_impl_job.cc
+++ b/net/http/http_stream_factory_impl_job.cc
@@ -24,6 +24,7 @@
#include "build/build_config.h"
#include "net/base/port_util.h"
#include "net/base/proxy_delegate.h"
+#include "net/base/trace_constants.h"
#include "net/cert/cert_verifier.h"
#include "net/http/bidirectional_stream_impl.h"
#include "net/http/http_basic_stream.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)
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | net/nqe/network_quality_estimator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698