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

Unified Diff: net/log/net_log_event_type_list.h

Issue 2704623002: Add non-application-data SSL messages to NetLog. (Closed)
Patch Set: tweak comment Created 3 years, 8 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') | no next file with comments »
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 b3325d74de5e9bae8469e3e009054b6531ff6354..b7b9d5c602d7243d5c756dc05b4504f509c8d55b 100644
--- a/net/log/net_log_event_type_list.h
+++ b/net/log/net_log_event_type_list.h
@@ -586,6 +586,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698