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

Unified Diff: net/socket/ssl_client_socket_impl.cc

Issue 2907263002: [Not for review] Add TRACE_EVENTs and chrome://flags for preconnect
Patch Set: Created 3 years, 7 months 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/core/quic_crypto_client_stream.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_impl.cc
diff --git a/net/socket/ssl_client_socket_impl.cc b/net/socket/ssl_client_socket_impl.cc
index 91c10da3012282f34cb23898d488dd9626b7c838..2344479466aa6f4cc3fd6f3193f7ae9a2d3d2869 100644
--- a/net/socket/ssl_client_socket_impl.cc
+++ b/net/socket/ssl_client_socket_impl.cc
@@ -1311,7 +1311,8 @@ void SSLClientSocketImpl::OnHandshakeIOComplete(int result) {
}
int SSLClientSocketImpl::DoHandshakeLoop(int last_io_result) {
- TRACE_EVENT0(kNetTracingCategory, "SSLClientSocketImpl::DoHandshakeLoop");
+ TRACE_EVENT1("net", "SSLClientSocketImpl::DoHandshakeLoop", "host",
+ host_and_port_.host());
int rv = last_io_result;
do {
// Default to STATE_NONE for next state.
« no previous file with comments | « net/quic/core/quic_crypto_client_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698