| 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 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1075 // { | 1075 // { |
| 1076 // "headers": <The list of header:value pairs>, | 1076 // "headers": <The list of header:value pairs>, |
| 1077 // "quic_priority": <Integer representing the priority of this request>, | 1077 // "quic_priority": <Integer representing the priority of this request>, |
| 1078 // "quic_stream_id": <Id of the QUIC stream sending this request>, | 1078 // "quic_stream_id": <Id of the QUIC stream sending this request>, |
| 1079 // } | 1079 // } |
| 1080 EVENT_TYPE(HTTP_TRANSACTION_QUIC_SEND_REQUEST_HEADERS) | 1080 EVENT_TYPE(HTTP_TRANSACTION_QUIC_SEND_REQUEST_HEADERS) |
| 1081 | 1081 |
| 1082 // Measures the time to read HTTP response headers from the server. | 1082 // Measures the time to read HTTP response headers from the server. |
| 1083 EVENT_TYPE(HTTP_TRANSACTION_READ_HEADERS) | 1083 EVENT_TYPE(HTTP_TRANSACTION_READ_HEADERS) |
| 1084 | 1084 |
| 1085 // Measures the time to handle an HTTP authentication challenge. |
| 1086 EVENT_TYPE(HTTP_TRANSACTION_HANDLE_AUTH_CHALLENGE) |
| 1087 |
| 1085 // This event is sent on receipt of the HTTP response headers. | 1088 // This event is sent on receipt of the HTTP response headers. |
| 1086 // The following parameters are attached: | 1089 // The following parameters are attached: |
| 1087 // { | 1090 // { |
| 1088 // "headers": <The list of header:value pairs>, | 1091 // "headers": <The list of header:value pairs>, |
| 1089 // } | 1092 // } |
| 1090 EVENT_TYPE(HTTP_TRANSACTION_READ_RESPONSE_HEADERS) | 1093 EVENT_TYPE(HTTP_TRANSACTION_READ_RESPONSE_HEADERS) |
| 1091 | 1094 |
| 1092 // Measures the time to read the entity body from the server. | 1095 // Measures the time to read the entity body from the server. |
| 1093 EVENT_TYPE(HTTP_TRANSACTION_READ_BODY) | 1096 EVENT_TYPE(HTTP_TRANSACTION_READ_BODY) |
| 1094 | 1097 |
| (...skipping 1574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2669 // The start/end of some portion of the SAFE_BROWSING_CHECKING_URL during which | 2672 // The start/end of some portion of the SAFE_BROWSING_CHECKING_URL during which |
| 2670 // the request is delayed due to that check. | 2673 // the request is delayed due to that check. |
| 2671 // | 2674 // |
| 2672 // The BEGIN phase contains the following parameters: | 2675 // The BEGIN phase contains the following parameters: |
| 2673 // { | 2676 // { |
| 2674 // "url": <The URL being checked>, | 2677 // "url": <The URL being checked>, |
| 2675 // "defer_reason" : < "at_start", "at_response", "redirect", | 2678 // "defer_reason" : < "at_start", "at_response", "redirect", |
| 2676 // "resumed_redirect", "unchecked_redirect"> | 2679 // "resumed_redirect", "unchecked_redirect"> |
| 2677 // } | 2680 // } |
| 2678 EVENT_TYPE(SAFE_BROWSING_DEFERRED) | 2681 EVENT_TYPE(SAFE_BROWSING_DEFERRED) |
| OLD | NEW |