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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1022 // "status": <The NPN status ("negotiated", "unsupported", "no-overlap")>, | 1022 // "status": <The NPN status ("negotiated", "unsupported", "no-overlap")>, |
1023 // "proto": <The NPN protocol negotiated>, | 1023 // "proto": <The NPN protocol negotiated>, |
1024 // "server_protos": <The list of server advertised protocols>, | 1024 // "server_protos": <The list of server advertised protocols>, |
1025 // } | 1025 // } |
1026 EVENT_TYPE(HTTP_STREAM_REQUEST_PROTO) | 1026 EVENT_TYPE(HTTP_STREAM_REQUEST_PROTO) |
1027 | 1027 |
1028 // Emitted when a Job is orphaned because the Request was bound to a different | 1028 // Emitted when a Job is orphaned because the Request was bound to a different |
1029 // Job. The orphaned Job will continue to run to completion. | 1029 // Job. The orphaned Job will continue to run to completion. |
1030 EVENT_TYPE(HTTP_STREAM_JOB_ORPHANED) | 1030 EVENT_TYPE(HTTP_STREAM_JOB_ORPHANED) |
1031 | 1031 |
| 1032 // Emitted when a job is asked to resume after non-zero microseconds. |
| 1033 // { |
| 1034 // "resume_after_ms": <Number of milliseconds until job will be unblocked> |
| 1035 // } |
| 1036 EVENT_TYPE(HTTP_STREAM_JOB_DELAYED) |
| 1037 |
1032 // ------------------------------------------------------------------------ | 1038 // ------------------------------------------------------------------------ |
1033 // HttpNetworkTransaction | 1039 // HttpNetworkTransaction |
1034 // ------------------------------------------------------------------------ | 1040 // ------------------------------------------------------------------------ |
1035 | 1041 |
1036 // Measures the time taken to send the tunnel request to the server. | 1042 // Measures the time taken to send the tunnel request to the server. |
1037 EVENT_TYPE(HTTP_TRANSACTION_TUNNEL_SEND_REQUEST) | 1043 EVENT_TYPE(HTTP_TRANSACTION_TUNNEL_SEND_REQUEST) |
1038 | 1044 |
1039 // This event is sent for a tunnel request. | 1045 // This event is sent for a tunnel request. |
1040 // The following parameters are attached: | 1046 // The following parameters are attached: |
1041 // { | 1047 // { |
(...skipping 1684 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 | 2732 // The start/end of some portion of the SAFE_BROWSING_CHECKING_URL during which |
2727 // the request is delayed due to that check. | 2733 // the request is delayed due to that check. |
2728 // | 2734 // |
2729 // The BEGIN phase contains the following parameters: | 2735 // The BEGIN phase contains the following parameters: |
2730 // { | 2736 // { |
2731 // "url": <The URL being checked>, | 2737 // "url": <The URL being checked>, |
2732 // "defer_reason" : < "at_start", "at_response", "redirect", | 2738 // "defer_reason" : < "at_start", "at_response", "redirect", |
2733 // "resumed_redirect", "unchecked_redirect"> | 2739 // "resumed_redirect", "unchecked_redirect"> |
2734 // } | 2740 // } |
2735 EVENT_TYPE(SAFE_BROWSING_DEFERRED) | 2741 EVENT_TYPE(SAFE_BROWSING_DEFERRED) |
OLD | NEW |