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 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1017 // Measures the time to read the entity body from the server. | 1017 // Measures the time to read the entity body from the server. |
1018 EVENT_TYPE(HTTP_TRANSACTION_READ_BODY) | 1018 EVENT_TYPE(HTTP_TRANSACTION_READ_BODY) |
1019 | 1019 |
1020 // Measures the time taken to read the response out of the socket before | 1020 // Measures the time taken to read the response out of the socket before |
1021 // restarting for authentication, on keep alive connections. | 1021 // restarting for authentication, on keep alive connections. |
1022 EVENT_TYPE(HTTP_TRANSACTION_DRAIN_BODY_FOR_AUTH_RESTART) | 1022 EVENT_TYPE(HTTP_TRANSACTION_DRAIN_BODY_FOR_AUTH_RESTART) |
1023 | 1023 |
1024 // This event is sent when we try to restart a transaction after an error. | 1024 // This event is sent when we try to restart a transaction after an error. |
1025 // The following parameters are attached: | 1025 // The following parameters are attached: |
1026 // { | 1026 // { |
1027 // "net_error": <The net error code integer for the failure>, | 1027 // "net_error": <The net error code integer for the failure, if applicable>, |
| 1028 // "http_status_code": <HTTP status code indicating an error, if |
| 1029 // applicable>, |
1028 // } | 1030 // } |
1029 EVENT_TYPE(HTTP_TRANSACTION_RESTART_AFTER_ERROR) | 1031 EVENT_TYPE(HTTP_TRANSACTION_RESTART_AFTER_ERROR) |
1030 | 1032 |
1031 // ------------------------------------------------------------------------ | 1033 // ------------------------------------------------------------------------ |
1032 // SpdySession | 1034 // SpdySession |
1033 // ------------------------------------------------------------------------ | 1035 // ------------------------------------------------------------------------ |
1034 | 1036 |
1035 // The start/end of a SpdySession. | 1037 // The start/end of a SpdySession. |
1036 // { | 1038 // { |
1037 // "host": <The host-port string>, | 1039 // "host": <The host-port string>, |
(...skipping 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2283 // entry. It contains no parameters. | 2285 // entry. It contains no parameters. |
2284 EVENT_TYPE(SIMPLE_CACHE_ENTRY_CLOSE_BEGIN) | 2286 EVENT_TYPE(SIMPLE_CACHE_ENTRY_CLOSE_BEGIN) |
2285 | 2287 |
2286 // This event is created when the Simple Cache finishes a CloseEntry call. It | 2288 // This event is created when the Simple Cache finishes a CloseEntry call. It |
2287 // contains no parameters. | 2289 // contains no parameters. |
2288 EVENT_TYPE(SIMPLE_CACHE_ENTRY_CLOSE_END) | 2290 EVENT_TYPE(SIMPLE_CACHE_ENTRY_CLOSE_END) |
2289 | 2291 |
2290 // This event is created (in a source of the same name) when the internal DNS | 2292 // This event is created (in a source of the same name) when the internal DNS |
2291 // resolver creates a UDP socket to check for global IPv6 connectivity. | 2293 // resolver creates a UDP socket to check for global IPv6 connectivity. |
2292 EVENT_TYPE(IPV6_REACHABILITY_CHECK) | 2294 EVENT_TYPE(IPV6_REACHABILITY_CHECK) |
OLD | NEW |