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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // NOTE: No header guards are used, since this file is intended to be expanded 5 // NOTE: No header guards are used, since this file is intended to be expanded
6 // directly into net_log.h. DO NOT include this file anywhere else. 6 // directly into net_log.h. DO NOT include this file anywhere else.
7 7
8 // In the event of a failure, a many end events will have a |net_error| 8 // In the event of a failure, a many end events will have a |net_error|
9 // parameter with the integer error code associated with the failure. Most 9 // parameter with the integer error code associated with the failure. Most
10 // of these parameters are not individually documented. 10 // of these parameters are not individually documented.
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 // An SSL error occurred while calling an NSS function not directly related to 579 // An SSL error occurred while calling an NSS function not directly related to
580 // one of the above activities. Can also be used when more information than 580 // one of the above activities. Can also be used when more information than
581 // is provided by just an error code is needed: 581 // is provided by just an error code is needed:
582 // { 582 // {
583 // "function": <Name of the NSS function, as a string>, 583 // "function": <Name of the NSS function, as a string>,
584 // "param": <Most relevant parameter, if any>, 584 // "param": <Most relevant parameter, if any>,
585 // "ssl_lib_error": <NSS library's integer code for the specific error type> 585 // "ssl_lib_error": <NSS library's integer code for the specific error type>
586 // } 586 // }
587 EVENT_TYPE(SSL_NSS_ERROR) 587 EVENT_TYPE(SSL_NSS_ERROR)
588 588
589 // An SSL connection sent or received an alert.
590 // The following parameters are attached:
591 // {
592 // "hex_encoded_bytes": <The exact bytes sent, as a hexadecimal string>
593 // }
594 EVENT_TYPE(SSL_ALERT_RECEIVED)
595 EVENT_TYPE(SSL_ALERT_SENT)
596
597 // An SSL connection sent or received a handshake message.
598 // The following parameters are attached:
599 // {
600 // "type": <The type of the handshake message, as an integer>
601 // "hex_encoded_bytes": <The exact bytes sent, as a hexadecimal string. May
602 // be elided in some cases>
603 // }
604 EVENT_TYPE(SSL_HANDSHAKE_MESSAGE_RECEIVED)
605 EVENT_TYPE(SSL_HANDSHAKE_MESSAGE_SENT)
606
589 // The specified number of bytes were sent on the socket. Depending on the 607 // The specified number of bytes were sent on the socket. Depending on the
590 // source of the event, may be logged either once the data is sent, or when it 608 // source of the event, may be logged either once the data is sent, or when it
591 // is queued to be sent. 609 // is queued to be sent.
592 // The following parameters are attached: 610 // The following parameters are attached:
593 // { 611 // {
594 // "byte_count": <Number of bytes that were just sent>, 612 // "byte_count": <Number of bytes that were just sent>,
595 // "hex_encoded_bytes": <The exact bytes sent, as a hexadecimal string. 613 // "hex_encoded_bytes": <The exact bytes sent, as a hexadecimal string.
596 // Only present when byte logging is enabled>, 614 // Only present when byte logging is enabled>,
597 // } 615 // }
598 EVENT_TYPE(SOCKET_BYTES_SENT) 616 EVENT_TYPE(SOCKET_BYTES_SENT)
(...skipping 2596 matching lines...) Expand 10 before | Expand all | Expand 10 after
3195 // quality of the network has changed. 3213 // quality of the network has changed.
3196 // parameters: 3214 // parameters:
3197 // { 3215 // {
3198 // "http_rtt": <Current estimate of the HTTP RTT>, 3216 // "http_rtt": <Current estimate of the HTTP RTT>,
3199 // "transport_rtt": <Current estimate of the transport RTT>, 3217 // "transport_rtt": <Current estimate of the transport RTT>,
3200 // "downstream_throughput": <Current estimate of the downstream throughput>, 3218 // "downstream_throughput": <Current estimate of the downstream throughput>,
3201 // "effective_connection_type": <Current estimate of the effective connection 3219 // "effective_connection_type": <Current estimate of the effective connection
3202 // type>, 3220 // type>,
3203 // } 3221 // }
3204 EVENT_TYPE(NETWORK_QUALITY_CHANGED) 3222 EVENT_TYPE(NETWORK_QUALITY_CHANGED)
OLDNEW
« 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