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

Unified Diff: net/dns/host_cache.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/dns/host_cache.cc
diff --git a/net/dns/host_cache.cc b/net/dns/host_cache.cc
index 881f5140b6f8518cc77f2bfe48caae64b36bcdf0..70b6647568e96456461dbdd70b3742263d79f0c9 100644
--- a/net/dns/host_cache.cc
+++ b/net/dns/host_cache.cc
@@ -12,6 +12,7 @@
#include "base/trace_event/trace_event.h"
#include "net/base/net_errors.h"
#include "net/dns/dns_util.h"
+#include "net/log/trace_constants.h"
namespace net {
@@ -162,7 +163,7 @@ void HostCache::Set(const Key& key,
const Entry& entry,
base::TimeTicks now,
base::TimeDelta ttl) {
- TRACE_EVENT0("net", "HostCache::Set");
+ TRACE_EVENT0(kNetTracingCategory, "HostCache::Set");
DCHECK(CalledOnValidThread());
if (caching_is_disabled())
return;

Powered by Google App Engine
This is Rietveld 408576698