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

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: . 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 unified diff | 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')
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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 // An SSL error occurred while calling an NSS function not directly related to 562 // An SSL error occurred while calling an NSS function not directly related to
563 // one of the above activities. Can also be used when more information than 563 // one of the above activities. Can also be used when more information than
564 // is provided by just an error code is needed: 564 // is provided by just an error code is needed:
565 // { 565 // {
566 // "function": <Name of the NSS function, as a string>, 566 // "function": <Name of the NSS function, as a string>,
567 // "param": <Most relevant parameter, if any>, 567 // "param": <Most relevant parameter, if any>,
568 // "ssl_lib_error": <NSS library's integer code for the specific error type> 568 // "ssl_lib_error": <NSS library's integer code for the specific error type>
569 // } 569 // }
570 EVENT_TYPE(SSL_NSS_ERROR) 570 EVENT_TYPE(SSL_NSS_ERROR)
571 571
572 // An SSL connection sent or received an alert.
573 // The following parameters are attached:
574 // {
575 // "hex_encoded_bytes": <The exact bytes sent, as a hexadecimal string>
576 // }
577 EVENT_TYPE(SSL_ALERT_RECEIVED)
578 EVENT_TYPE(SSL_ALERT_SENT)
579
580 // An SSL connection sent or received a handshake message.
581 // The following parameters are attached:
582 // {
583 // "type": <The type of the handshake message, as an integer>
584 // "hex_encoded_bytes": <The exact bytes sent, as a hexadecimal string. May
585 // be elided in some cases>
586 // }
587 EVENT_TYPE(SSL_HANDSHAKE_MESSAGE_RECEIVED)
588 EVENT_TYPE(SSL_HANDSHAKE_MESSAGE_SENT)
589
572 // The specified number of bytes were sent on the socket. Depending on the 590 // The specified number of bytes were sent on the socket. Depending on the
573 // source of the event, may be logged either once the data is sent, or when it 591 // source of the event, may be logged either once the data is sent, or when it
574 // is queued to be sent. 592 // is queued to be sent.
575 // The following parameters are attached: 593 // The following parameters are attached:
576 // { 594 // {
577 // "byte_count": <Number of bytes that were just sent>, 595 // "byte_count": <Number of bytes that were just sent>,
578 // "hex_encoded_bytes": <The exact bytes sent, as a hexadecimal string. 596 // "hex_encoded_bytes": <The exact bytes sent, as a hexadecimal string.
579 // Only present when byte logging is enabled>, 597 // Only present when byte logging is enabled>,
580 // } 598 // }
581 EVENT_TYPE(SOCKET_BYTES_SENT) 599 EVENT_TYPE(SOCKET_BYTES_SENT)
(...skipping 2549 matching lines...) Expand 10 before | Expand all | Expand 10 after
3131 // quality of the network has changed. 3149 // quality of the network has changed.
3132 // parameters: 3150 // parameters:
3133 // { 3151 // {
3134 // "http_rtt": <Current estimate of the HTTP RTT>, 3152 // "http_rtt": <Current estimate of the HTTP RTT>,
3135 // "transport_rtt": <Current estimate of the transport RTT>, 3153 // "transport_rtt": <Current estimate of the transport RTT>,
3136 // "downstream_throughput": <Current estimate of the downstream throughput>, 3154 // "downstream_throughput": <Current estimate of the downstream throughput>,
3137 // "effective_connection_type": <Current estimate of the effective connection 3155 // "effective_connection_type": <Current estimate of the effective connection
3138 // type>, 3156 // type>,
3139 // } 3157 // }
3140 EVENT_TYPE(NETWORK_QUALITY_CHANGED) 3158 EVENT_TYPE(NETWORK_QUALITY_CHANGED)
OLDNEW
« 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