| 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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 | 556 |
| 557 // An SSL connection needs to be retried with more cipher suites because the | 557 // An SSL connection needs to be retried with more cipher suites because the |
| 558 // server may require a deprecated cipher suite. The following parameters are | 558 // server may require a deprecated cipher suite. The following parameters are |
| 559 // attached to the event: | 559 // attached to the event: |
| 560 // { | 560 // { |
| 561 // "host_and_port": <String encoding the host and port>, | 561 // "host_and_port": <String encoding the host and port>, |
| 562 // "net_error": <Net integer error code>, | 562 // "net_error": <Net integer error code>, |
| 563 // } | 563 // } |
| 564 EVENT_TYPE(SSL_CIPHER_FALLBACK) | 564 EVENT_TYPE(SSL_CIPHER_FALLBACK) |
| 565 | 565 |
| 566 // An SSL connection needs to be retried with a lower protocol version to detect |
| 567 // if the error was due to a middlebox interfering with the protocol version we |
| 568 // offered. |
| 569 // The following parameters are attached to the event: |
| 570 // { |
| 571 // "net_error": <Net integer error code which triggered the probe>, |
| 572 // } |
| 573 EVENT_TYPE(SSL_VERSION_INTERFERENCE_PROBE) |
| 574 |
| 566 // We found that our prediction of the server's certificates was correct and | 575 // We found that our prediction of the server's certificates was correct and |
| 567 // we merged the verification with the SSLHostInfo. (Note: now obsolete.) | 576 // we merged the verification with the SSLHostInfo. (Note: now obsolete.) |
| 568 EVENT_TYPE(SSL_VERIFICATION_MERGED) | 577 EVENT_TYPE(SSL_VERIFICATION_MERGED) |
| 569 | 578 |
| 570 // 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 |
| 571 // 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 |
| 572 // is provided by just an error code is needed: | 581 // is provided by just an error code is needed: |
| 573 // { | 582 // { |
| 574 // "function": <Name of the NSS function, as a string>, | 583 // "function": <Name of the NSS function, as a string>, |
| 575 // "param": <Most relevant parameter, if any>, | 584 // "param": <Most relevant parameter, if any>, |
| (...skipping 2596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3172 // quality of the network has changed. | 3181 // quality of the network has changed. |
| 3173 // parameters: | 3182 // parameters: |
| 3174 // { | 3183 // { |
| 3175 // "http_rtt": <Current estimate of the HTTP RTT>, | 3184 // "http_rtt": <Current estimate of the HTTP RTT>, |
| 3176 // "transport_rtt": <Current estimate of the transport RTT>, | 3185 // "transport_rtt": <Current estimate of the transport RTT>, |
| 3177 // "downstream_throughput": <Current estimate of the downstream throughput>, | 3186 // "downstream_throughput": <Current estimate of the downstream throughput>, |
| 3178 // "effective_connection_type": <Current estimate of the effective connection | 3187 // "effective_connection_type": <Current estimate of the effective connection |
| 3179 // type>, | 3188 // type>, |
| 3180 // } | 3189 // } |
| 3181 EVENT_TYPE(NETWORK_QUALITY_CHANGED) | 3190 EVENT_TYPE(NETWORK_QUALITY_CHANGED) |
| OLD | NEW |