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 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1280 // "net_error": <The net error code for the failure, if any>, | 1280 // "net_error": <The net error code for the failure, if any>, |
1281 // } | 1281 // } |
1282 EVENT_TYPE(DNS_TRANSACTION_QUERY) | 1282 EVENT_TYPE(DNS_TRANSACTION_QUERY) |
1283 | 1283 |
1284 // This event is created when DnsTransaction creates a new UDP socket and | 1284 // This event is created when DnsTransaction creates a new UDP socket and |
1285 // tries to resolve the fully-qualified name. | 1285 // tries to resolve the fully-qualified name. |
1286 // | 1286 // |
1287 // It has a single parameter: | 1287 // It has a single parameter: |
1288 // | 1288 // |
1289 // { | 1289 // { |
1290 // "socket_source": <Source id of the UDP socket created for the attempt>, | 1290 // "source_dependency": <Source id of the UDP socket created for the |
| 1291 // attempt>, |
1291 // } | 1292 // } |
1292 EVENT_TYPE(DNS_TRANSACTION_ATTEMPT) | 1293 EVENT_TYPE(DNS_TRANSACTION_ATTEMPT) |
1293 | 1294 |
1294 // This event is created when DnsTransaction receives a matching response. | 1295 // This event is created when DnsTransaction receives a matching response. |
1295 // | 1296 // |
1296 // It has the following parameters: | 1297 // It has the following parameters: |
1297 // | 1298 // |
1298 // { | 1299 // { |
1299 // "rcode": <rcode in the received response>, | 1300 // "rcode": <rcode in the received response>, |
1300 // "answer_count": <answer_count in the received response>, | 1301 // "answer_count": <answer_count in the received response>, |
1301 // "socket_source": <Source id of the UDP socket that received the | 1302 // "source_dependency": <Source id of the UDP socket that received the |
1302 // response>, | 1303 // response>, |
1303 // } | 1304 // } |
1304 EVENT_TYPE(DNS_TRANSACTION_RESPONSE) | 1305 EVENT_TYPE(DNS_TRANSACTION_RESPONSE) |
1305 | 1306 |
1306 // ------------------------------------------------------------------------ | 1307 // ------------------------------------------------------------------------ |
1307 // AsyncHostResolver | 1308 // AsyncHostResolver |
1308 // ------------------------------------------------------------------------ | 1309 // ------------------------------------------------------------------------ |
1309 | 1310 |
1310 // The start/end of waiting on a host resolve (DNS) request. | 1311 // The start/end of waiting on a host resolve (DNS) request. |
1311 // The BEGIN phase contains the following parameters: | 1312 // The BEGIN phase contains the following parameters: |
1312 // | 1313 // |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1635 // This may occur even when the file is not open. | 1636 // This may occur even when the file is not open. |
1636 EVENT_TYPE(FILE_STREAM_CLOSE) | 1637 EVENT_TYPE(FILE_STREAM_CLOSE) |
1637 | 1638 |
1638 // This event is created when a file stream operation has an error. | 1639 // This event is created when a file stream operation has an error. |
1639 // { | 1640 // { |
1640 // "operation": <open, write, close, etc>, | 1641 // "operation": <open, write, close, etc>, |
1641 // "os_error": <OS-dependent error code>, | 1642 // "os_error": <OS-dependent error code>, |
1642 // "net_error": <net::Error code>, | 1643 // "net_error": <net::Error code>, |
1643 // } | 1644 // } |
1644 EVENT_TYPE(FILE_STREAM_ERROR) | 1645 EVENT_TYPE(FILE_STREAM_ERROR) |
OLD | NEW |