OLD | NEW |
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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 // An SSL error occurred while trying to do the indicated activity. | 514 // An SSL error occurred while trying to do the indicated activity. |
515 // The following parameters are attached to the event: | 515 // The following parameters are attached to the event: |
516 // { | 516 // { |
517 // "net_error": <Integer code for the specific error type>, | 517 // "net_error": <Integer code for the specific error type>, |
518 // "ssl_lib_error": <SSL library's integer code for the specific error type> | 518 // "ssl_lib_error": <SSL library's integer code for the specific error type> |
519 // } | 519 // } |
520 EVENT_TYPE(SSL_HANDSHAKE_ERROR) | 520 EVENT_TYPE(SSL_HANDSHAKE_ERROR) |
521 EVENT_TYPE(SSL_READ_ERROR) | 521 EVENT_TYPE(SSL_READ_ERROR) |
522 EVENT_TYPE(SSL_WRITE_ERROR) | 522 EVENT_TYPE(SSL_WRITE_ERROR) |
523 | 523 |
524 // An SSL connection needs to be retried with more cipher suites because the | |
525 // server may require a deprecated cipher suite. The following parameters are | |
526 // attached to the event: | |
527 // { | |
528 // "host_and_port": <String encoding the host and port>, | |
529 // "net_error": <Net integer error code>, | |
530 // } | |
531 EVENT_TYPE(SSL_CIPHER_FALLBACK) | |
532 | |
533 // An SSL connection needs to be retried with a lower protocol version to detect | 524 // An SSL connection needs to be retried with a lower protocol version to detect |
534 // if the error was due to a middlebox interfering with the protocol version we | 525 // if the error was due to a middlebox interfering with the protocol version we |
535 // offered. | 526 // offered. |
536 // The following parameters are attached to the event: | 527 // The following parameters are attached to the event: |
537 // { | 528 // { |
538 // "net_error": <Net integer error code which triggered the probe>, | 529 // "net_error": <Net integer error code which triggered the probe>, |
539 // } | 530 // } |
540 EVENT_TYPE(SSL_VERSION_INTERFERENCE_PROBE) | 531 EVENT_TYPE(SSL_VERSION_INTERFERENCE_PROBE) |
541 | 532 |
542 // We found that our prediction of the server's certificates was correct and | 533 // We found that our prediction of the server's certificates was correct and |
(...skipping 2628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3171 // quality of the network has changed. | 3162 // quality of the network has changed. |
3172 // parameters: | 3163 // parameters: |
3173 // { | 3164 // { |
3174 // "http_rtt": <Current estimate of the HTTP RTT>, | 3165 // "http_rtt": <Current estimate of the HTTP RTT>, |
3175 // "transport_rtt": <Current estimate of the transport RTT>, | 3166 // "transport_rtt": <Current estimate of the transport RTT>, |
3176 // "downstream_throughput": <Current estimate of the downstream throughput>, | 3167 // "downstream_throughput": <Current estimate of the downstream throughput>, |
3177 // "effective_connection_type": <Current estimate of the effective connection | 3168 // "effective_connection_type": <Current estimate of the effective connection |
3178 // type>, | 3169 // type>, |
3179 // } | 3170 // } |
3180 EVENT_TYPE(NETWORK_QUALITY_CHANGED) | 3171 EVENT_TYPE(NETWORK_QUALITY_CHANGED) |
OLD | NEW |