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 2053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2064 // This event is emitted when Service Worker is destroyed before it | 2064 // This event is emitted when Service Worker is destroyed before it |
2065 // finishes responding with a stream. | 2065 // finishes responding with a stream. |
2066 EVENT_TYPE(SERVICE_WORKER_ERROR_KILLED_WITH_STREAM) | 2066 EVENT_TYPE(SERVICE_WORKER_ERROR_KILLED_WITH_STREAM) |
2067 | 2067 |
2068 // This event is emitted when a request to be forwarded to a Service Worker has | 2068 // This event is emitted when a request to be forwarded to a Service Worker has |
2069 // request body blobs, and it may be necessary to wait for them to finish | 2069 // request body blobs, and it may be necessary to wait for them to finish |
2070 // construction. The END phase event parameter is: | 2070 // construction. The END phase event parameter is: |
2071 // { | 2071 // { |
2072 // "success": Whether the request blobs finished construction successfully. | 2072 // "success": Whether the request blobs finished construction successfully. |
2073 // } | 2073 // } |
2074 EVENT_TYPE(SERVICE_WORKER_WAITING_FOR_REQUEST_BODY_BLOB) | 2074 EVENT_TYPE(SERVICE_WORKER_WAITING_FOR_REQUEST_BODY_FILES) |
2075 | 2075 |
2076 // This event is emitted when a request failed to be forwarded to a Service | 2076 // This event is emitted when a request failed to be forwarded to a Service |
2077 // Worker, because it had a request body with a blob that failed to be | 2077 // Worker, because it had a request body with a blob that failed to be |
2078 // constructed. | 2078 // constructed. |
2079 EVENT_TYPE(SERVICE_WORKER_ERROR_REQUEST_BODY_BLOB_FAILED) | 2079 EVENT_TYPE(SERVICE_WORKER_ERROR_REQUEST_BODY_BLOB_FAILED) |
2080 | 2080 |
2081 // The start/end of dispatching a fetch event to a service worker. This includes | 2081 // The start/end of dispatching a fetch event to a service worker. This includes |
2082 // waiting for the worker to activate and starting the worker if neccessary. | 2082 // waiting for the worker to activate and starting the worker if neccessary. |
2083 // | 2083 // |
2084 // The BEGIN phase consists of the following parameters: | 2084 // The BEGIN phase consists of the following parameters: |
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3050 // { | 3050 // { |
3051 // "current_position": <Shows current read position>, | 3051 // "current_position": <Shows current read position>, |
3052 // } | 3052 // } |
3053 // | 3053 // |
3054 // The END phase contains the following information: | 3054 // The END phase contains the following information: |
3055 // { | 3055 // { |
3056 // "result": <Result of reading. Result > 0 is bytes read. Result == 0 means | 3056 // "result": <Result of reading. Result > 0 is bytes read. Result == 0 means |
3057 // the end of file. Result < 0 means an error.> | 3057 // the end of file. Result < 0 means an error.> |
3058 // } | 3058 // } |
3059 EVENT_TYPE(UPLOAD_DATA_STREAM_READ) | 3059 EVENT_TYPE(UPLOAD_DATA_STREAM_READ) |
OLD | NEW |