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

Unified Diff: net/socket/ssl_client_socket_openssl.cc

Issue 1814463002: [NOT FOR REVIEW] Instrument net/ with trace events. Base URL: https://chromium.googlesource.com/chromium/src.git@profiler
Patch Set: meh Created 4 years, 9 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/socket/socket_posix.cc ('k') | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_openssl.cc
diff --git a/net/socket/ssl_client_socket_openssl.cc b/net/socket/ssl_client_socket_openssl.cc
index 8a860f35ba4fee669f8b7cf277527755f1b4b47c..e4edb255fdbddfe3cd5c442467325b6b12fee1eb 100644
--- a/net/socket/ssl_client_socket_openssl.cc
+++ b/net/socket/ssl_client_socket_openssl.cc
@@ -54,6 +54,8 @@
#include "net/ssl/ssl_private_key.h"
#include "net/ssl/token_binding.h"
+#include "base/trace_event/trace_event.h"
+
#if !defined(OS_NACL)
#include "net/ssl/ssl_key_logger.h"
#endif
@@ -1483,6 +1485,7 @@ void SSLClientSocketOpenSSL::OnRecvComplete(int result) {
}
int SSLClientSocketOpenSSL::DoHandshakeLoop(int last_io_result) {
+ TRACE_EVENT0("net", "net::SSLClientSocketOpenSSL::DoHandshakeLoop");
int rv = last_io_result;
do {
// Default to STATE_NONE for next state.
« no previous file with comments | « net/socket/socket_posix.cc ('k') | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698