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

Unified Diff: net/socket/client_socket_handle.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/client_socket_handle.cc
diff --git a/net/socket/client_socket_handle.cc b/net/socket/client_socket_handle.cc
index f171552e4c291b41dceb085a1e0a7286cbc34bed..f46a1e95b4ac2f0ba70f5ff1cdb9b0b6d0a3882c 100644
--- a/net/socket/client_socket_handle.cc
+++ b/net/socket/client_socket_handle.cc
@@ -13,6 +13,7 @@
#include "base/trace_event/trace_event.h"
#include "net/base/net_errors.h"
#include "net/log/net_log_event_type.h"
+#include "net/log/trace_constants.h"
#include "net/socket/client_socket_pool.h"
namespace net {
@@ -139,7 +140,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);

Powered by Google App Engine
This is Rietveld 408576698