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

Unified Diff: net/socket/udp_socket_posix.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/socket/udp_socket_posix.cc
diff --git a/net/socket/udp_socket_posix.cc b/net/socket/udp_socket_posix.cc
index 8b8c227ebc83e191a0600a95d522ba14669c8f85..826166681da8fc02a97cc5fe132e1bfee537edd5 100644
--- a/net/socket/udp_socket_posix.cc
+++ b/net/socket/udp_socket_posix.cc
@@ -31,6 +31,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/socket/socket_descriptor.h"
#include "net/socket/udp_net_log_parameters.h"
@@ -574,7 +575,7 @@ int UDPSocketPosix::SetBroadcast(bool broadcast) {
}
void UDPSocketPosix::ReadWatcher::OnFileCanReadWithoutBlocking(int) {
- TRACE_EVENT0("net",
+ TRACE_EVENT0(kNetTracingCategory,
"UDPSocketPosix::ReadWatcher::OnFileCanReadWithoutBlocking");
if (!socket_->read_callback_.is_null())
socket_->DidCompleteRead();

Powered by Google App Engine
This is Rietveld 408576698