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

Unified Diff: net/log/net_log_event_type_list.h

Issue 2704623002: Add non-application-data SSL messages to NetLog. (Closed)
Patch Set: . Created 3 years, 10 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 | « no previous file | net/socket/ssl_client_socket_impl.h » ('j') | net/socket/ssl_client_socket_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/log/net_log_event_type_list.h
diff --git a/net/log/net_log_event_type_list.h b/net/log/net_log_event_type_list.h
index 0a844474a7c6faca09e12b3c97a3a826e47ca2b0..4988533e04e7c14fd93061c4cc72d097b8da9a39 100644
--- a/net/log/net_log_event_type_list.h
+++ b/net/log/net_log_event_type_list.h
@@ -569,6 +569,24 @@ EVENT_TYPE(SSL_VERIFICATION_MERGED)
// }
EVENT_TYPE(SSL_NSS_ERROR)
+// An SSL connection sent or received an alert.
+// The following parameters are attached:
+// {
+// "hex_encoded_bytes": <The exact bytes sent, as a hexadecimal string>
+// }
+EVENT_TYPE(SSL_ALERT_RECEIVED)
+EVENT_TYPE(SSL_ALERT_SENT)
+
+// An SSL connection sent or received a handshake message.
+// The following parameters are attached:
+// {
+// "type": <The type of the handshake message, as an integer>
+// "hex_encoded_bytes": <The exact bytes sent, as a hexadecimal string. May
+// be elided in some cases>
+// }
+EVENT_TYPE(SSL_HANDSHAKE_MESSAGE_RECEIVED)
+EVENT_TYPE(SSL_HANDSHAKE_MESSAGE_SENT)
+
// The specified number of bytes were sent on the socket. Depending on the
// source of the event, may be logged either once the data is sent, or when it
// is queued to be sent.
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_impl.h » ('j') | net/socket/ssl_client_socket_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698