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

Unified Diff: net/socket/client_socket_pool_base.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_pool_base.cc
diff --git a/net/socket/client_socket_pool_base.cc b/net/socket/client_socket_pool_base.cc
index 165ea53a7a9d7639a7bd4c1c0a456455b0136317..39248256669a7cb3d4c63b7db70394e527534ac7 100644
--- a/net/socket/client_socket_pool_base.cc
+++ b/net/socket/client_socket_pool_base.cc
@@ -22,6 +22,7 @@
#include "net/log/net_log.h"
#include "net/log/net_log_event_type.h"
#include "net/log/net_log_source.h"
+#include "net/log/trace_constants.h"
using base::TimeDelta;
@@ -128,7 +129,7 @@ void ConnectJob::SetSocket(std::unique_ptr<StreamSocket> socket) {
}
void ConnectJob::NotifyDelegateOfCompletion(int rv) {
- TRACE_EVENT0("net", "ConnectJob::NotifyDelegateOfCompletion");
+ TRACE_EVENT0(kNetTracingCategory, "ConnectJob::NotifyDelegateOfCompletion");
// The delegate will own |this|.
Delegate* delegate = delegate_;
delegate_ = NULL;

Powered by Google App Engine
This is Rietveld 408576698