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 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1102 // } | 1102 // } |
1103 EVENT_TYPE(HTTP_TRANSACTION_READ_RESPONSE_HEADERS) | 1103 EVENT_TYPE(HTTP_TRANSACTION_READ_RESPONSE_HEADERS) |
1104 | 1104 |
1105 // Measures the time to read the entity body from the server. | 1105 // Measures the time to read the entity body from the server. |
1106 EVENT_TYPE(HTTP_TRANSACTION_READ_BODY) | 1106 EVENT_TYPE(HTTP_TRANSACTION_READ_BODY) |
1107 | 1107 |
1108 // Measures the time taken to read the response out of the socket before | 1108 // Measures the time taken to read the response out of the socket before |
1109 // restarting for authentication, on keep alive connections. | 1109 // restarting for authentication, on keep alive connections. |
1110 EVENT_TYPE(HTTP_TRANSACTION_DRAIN_BODY_FOR_AUTH_RESTART) | 1110 EVENT_TYPE(HTTP_TRANSACTION_DRAIN_BODY_FOR_AUTH_RESTART) |
1111 | 1111 |
| 1112 // Measures the time taken to look up the key used for Token Binding. |
| 1113 EVENT_TYPE(HTTP_TRANSACTION_GET_TOKEN_BINDING_KEY) |
| 1114 |
1112 // This event is sent when we try to restart a transaction after an error. | 1115 // This event is sent when we try to restart a transaction after an error. |
1113 // The following parameters are attached: | 1116 // The following parameters are attached: |
1114 // { | 1117 // { |
1115 // "net_error": <The net error code integer for the failure, if applicable>, | 1118 // "net_error": <The net error code integer for the failure, if applicable>, |
1116 // "http_status_code": <HTTP status code indicating an error, if | 1119 // "http_status_code": <HTTP status code indicating an error, if |
1117 // applicable>, | 1120 // applicable>, |
1118 // } | 1121 // } |
1119 EVENT_TYPE(HTTP_TRANSACTION_RESTART_AFTER_ERROR) | 1122 EVENT_TYPE(HTTP_TRANSACTION_RESTART_AFTER_ERROR) |
1120 | 1123 |
1121 // ------------------------------------------------------------------------ | 1124 // ------------------------------------------------------------------------ |
(...skipping 1604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2726 // The start/end of some portion of the SAFE_BROWSING_CHECKING_URL during which | 2729 // The start/end of some portion of the SAFE_BROWSING_CHECKING_URL during which |
2727 // the request is delayed due to that check. | 2730 // the request is delayed due to that check. |
2728 // | 2731 // |
2729 // The BEGIN phase contains the following parameters: | 2732 // The BEGIN phase contains the following parameters: |
2730 // { | 2733 // { |
2731 // "url": <The URL being checked>, | 2734 // "url": <The URL being checked>, |
2732 // "defer_reason" : < "at_start", "at_response", "redirect", | 2735 // "defer_reason" : < "at_start", "at_response", "redirect", |
2733 // "resumed_redirect", "unchecked_redirect"> | 2736 // "resumed_redirect", "unchecked_redirect"> |
2734 // } | 2737 // } |
2735 EVENT_TYPE(SAFE_BROWSING_DEFERRED) | 2738 EVENT_TYPE(SAFE_BROWSING_DEFERRED) |
OLD | NEW |