Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: net/log/net_log_event_type_list.h

Issue 2410333006: Implement ServiceWorkerFetchDispatcher::MaybeStartNavigationPreload(). (Closed)
Patch Set: incorporated falken's comment Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2098 matching lines...) Expand 10 before | Expand all | Expand 10 after
2109 EVENT_TYPE(SERVICE_WORKER_START_WORKER) 2109 EVENT_TYPE(SERVICE_WORKER_START_WORKER)
2110 2110
2111 // The start/end of dispatching a fetch event to an activated, running service 2111 // The start/end of dispatching a fetch event to an activated, running service
2112 // worker. 2112 // worker.
2113 // For the END phase, the following parameters are attached: 2113 // For the END phase, the following parameters are attached:
2114 // { 2114 // {
2115 // "status": The ServiceWorkerStatusCode as a string. Only present on failure. 2115 // "status": The ServiceWorkerStatusCode as a string. Only present on failure.
2116 // } 2116 // }
2117 EVENT_TYPE(SERVICE_WORKER_FETCH_EVENT) 2117 EVENT_TYPE(SERVICE_WORKER_FETCH_EVENT)
2118 2118
2119 // The start/end of dispatching a navigation preload request to the server.
2120 // The BEGIN phase contains the following parameters:
2121 // {
2122 // "url": The URL that was being requested.
2123 // }
2124 // The END phase contains the following parameters:
2125 // {
2126 // "net_error": The net error code for the failure, if any.
2127 // }
2128 EVENT_TYPE(SERVICE_WORKER_NAVIGATION_PRELOAD)
2129
2119 // ------------------------------------------------------------------------ 2130 // ------------------------------------------------------------------------
2120 // Global events 2131 // Global events
2121 // ------------------------------------------------------------------------ 2132 // ------------------------------------------------------------------------
2122 // These are events which are not grouped by source id, as they have no 2133 // These are events which are not grouped by source id, as they have no
2123 // context. 2134 // context.
2124 2135
2125 // This event is emitted whenever NetworkChangeNotifier determines that an 2136 // This event is emitted whenever NetworkChangeNotifier determines that an
2126 // active network adapter's IP address has changed. 2137 // active network adapter's IP address has changed.
2127 EVENT_TYPE(NETWORK_IP_ADDRESSES_CHANGED) 2138 EVENT_TYPE(NETWORK_IP_ADDRESSES_CHANGED)
2128 2139
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
3050 // { 3061 // {
3051 // "current_position": <Shows current read position>, 3062 // "current_position": <Shows current read position>,
3052 // } 3063 // }
3053 // 3064 //
3054 // The END phase contains the following information: 3065 // The END phase contains the following information:
3055 // { 3066 // {
3056 // "result": <Result of reading. Result > 0 is bytes read. Result == 0 means 3067 // "result": <Result of reading. Result > 0 is bytes read. Result == 0 means
3057 // the end of file. Result < 0 means an error.> 3068 // the end of file. Result < 0 means an error.>
3058 // } 3069 // }
3059 EVENT_TYPE(UPLOAD_DATA_STREAM_READ) 3070 EVENT_TYPE(UPLOAD_DATA_STREAM_READ)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698