Chromium Code Reviews| 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 525 // An SSL error occurred while trying to do the indicated activity. | 525 // An SSL error occurred while trying to do the indicated activity. |
| 526 // The following parameters are attached to the event: | 526 // The following parameters are attached to the event: |
| 527 // { | 527 // { |
| 528 // "net_error": <Integer code for the specific error type>, | 528 // "net_error": <Integer code for the specific error type>, |
| 529 // "ssl_lib_error": <SSL library's integer code for the specific error type> | 529 // "ssl_lib_error": <SSL library's integer code for the specific error type> |
| 530 // } | 530 // } |
| 531 EVENT_TYPE(SSL_HANDSHAKE_ERROR) | 531 EVENT_TYPE(SSL_HANDSHAKE_ERROR) |
| 532 EVENT_TYPE(SSL_READ_ERROR) | 532 EVENT_TYPE(SSL_READ_ERROR) |
| 533 EVENT_TYPE(SSL_WRITE_ERROR) | 533 EVENT_TYPE(SSL_WRITE_ERROR) |
| 534 | 534 |
| 535 // An SSL connection needs to be retried with a lower protocol version because | |
| 536 // the server may be intolerant of the protocol version we offered. | |
| 537 // The following parameters are attached to the event: | |
| 538 // { | |
| 539 // "host_and_port": <String encoding the host and port>, | |
| 540 // "net_error": <Net integer error code>, | |
| 541 // "version_before": <SSL version before the fallback>, | |
| 542 // "version_after": <SSL version after the fallback>, | |
| 543 // } | |
| 544 EVENT_TYPE(SSL_VERSION_FALLBACK) | |
| 545 | |
|
Ryan Sleevi
2016/06/24 18:51:26
Do we need to preserve these IDs in any meaningful
eroman
2016/06/24 18:56:07
No, there is no need to preserve IDs. Legacy log f
| |
| 546 // An SSL connection needs to be retried with more cipher suites because the | 535 // An SSL connection needs to be retried with more cipher suites because the |
| 547 // server may require a deprecated cipher suite. The following parameters are | 536 // server may require a deprecated cipher suite. The following parameters are |
| 548 // attached to the event: | 537 // attached to the event: |
| 549 // { | 538 // { |
| 550 // "host_and_port": <String encoding the host and port>, | 539 // "host_and_port": <String encoding the host and port>, |
| 551 // "net_error": <Net integer error code>, | 540 // "net_error": <Net integer error code>, |
| 552 // } | 541 // } |
| 553 EVENT_TYPE(SSL_CIPHER_FALLBACK) | 542 EVENT_TYPE(SSL_CIPHER_FALLBACK) |
| 554 | 543 |
| 555 // We found that our prediction of the server's certificates was correct and | 544 // We found that our prediction of the server's certificates was correct and |
| (...skipping 2422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2978 // The start/end of some portion of the SAFE_BROWSING_CHECKING_URL during which | 2967 // The start/end of some portion of the SAFE_BROWSING_CHECKING_URL during which |
| 2979 // the request is delayed due to that check. | 2968 // the request is delayed due to that check. |
| 2980 // | 2969 // |
| 2981 // The BEGIN phase contains the following parameters: | 2970 // The BEGIN phase contains the following parameters: |
| 2982 // { | 2971 // { |
| 2983 // "url": <The URL being checked>, | 2972 // "url": <The URL being checked>, |
| 2984 // "defer_reason" : < "at_start", "at_response", "redirect", | 2973 // "defer_reason" : < "at_start", "at_response", "redirect", |
| 2985 // "resumed_redirect", "unchecked_redirect"> | 2974 // "resumed_redirect", "unchecked_redirect"> |
| 2986 // } | 2975 // } |
| 2987 EVENT_TYPE(SAFE_BROWSING_DEFERRED) | 2976 EVENT_TYPE(SAFE_BROWSING_DEFERRED) |
| OLD | NEW |