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

Unified Diff: net/base/net_log_event_type_list.h

Issue 418723002: Log the certificate subjects from the server certificate sent via QUIC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 6 years, 5 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/quic/quic_client_session.cc » ('j') | net/quic/quic_client_session.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_log_event_type_list.h
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h
index c6ed7c5d93795c7af44cec460a9ca69ac399636b..e85ecbf33e39c6b0500d07f2118a50f99658153b 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -1358,6 +1358,12 @@ EVENT_TYPE(QUIC_SESSION_CLOSE_ON_ERROR)
// }
EVENT_TYPE(QUIC_SESSION_PACKET_RECEIVED)
+// Session verified a certificate from the server.
+// {
+// "cert_subjects": <list of DNS names that the certs is valid for>,
wtc 2014/07/24 16:59:53 1. Typo: certs => certificate 2. The certificate
wtc 2014/07/24 17:17:01 Nit: you can shorten this dictionary key to "subje
Ryan Hamilton 2014/07/24 17:24:46 Done.
Ryan Hamilton 2014/07/24 17:24:46 Done.
wtc 2014/07/24 17:34:35 This is fine by me. It's just that the reason for
Ryan Hamilton 2014/07/24 17:45:09 Done.
+// }
+EVENT_TYPE(QUIC_SESSION_CERTIFICATE_VERIFIED)
wtc 2014/07/24 16:59:53 Please list this event before QUIC_SESSION_PACKET_
Ryan Hamilton 2014/07/24 17:24:46 Done.
+
// Session sent a QUIC packet.
// {
// "encryption_level": <The EncryptionLevel of the packet>,
« no previous file with comments | « no previous file | net/quic/quic_client_session.cc » ('j') | net/quic/quic_client_session.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698