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

Unified Diff: net/socket/client_socket_handle.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/quic/chromium/quic_stream_factory.cc ('k') | net/socket/client_socket_pool_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/client_socket_handle.cc
diff --git a/net/socket/client_socket_handle.cc b/net/socket/client_socket_handle.cc
index 0fc48756110fb22d2736d9e6973532616e431bd6..5d338bcb14dcdf3decd43f8d382e485380f58cd8 100644
--- a/net/socket/client_socket_handle.cc
+++ b/net/socket/client_socket_handle.cc
@@ -12,6 +12,7 @@
#include "base/logging.h"
#include "base/trace_event/trace_event.h"
#include "net/base/net_errors.h"
+#include "net/base/trace_constants.h"
#include "net/log/net_log_event_type.h"
#include "net/socket/client_socket_pool.h"
@@ -137,7 +138,7 @@ void ClientSocketHandle::SetSocket(std::unique_ptr<StreamSocket> s) {
}
void ClientSocketHandle::OnIOComplete(int result) {
- TRACE_EVENT0("net", "ClientSocketHandle::OnIOComplete");
+ TRACE_EVENT0(kNetTracingCategory, "ClientSocketHandle::OnIOComplete");
CompletionCallback callback = user_callback_;
user_callback_.Reset();
HandleInitCompletion(result);
« no previous file with comments | « net/quic/chromium/quic_stream_factory.cc ('k') | net/socket/client_socket_pool_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698