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 3162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3173 // quality of the network has changed. | 3173 // quality of the network has changed. |
3174 // parameters: | 3174 // parameters: |
3175 // { | 3175 // { |
3176 // "http_rtt": <Current estimate of the HTTP RTT>, | 3176 // "http_rtt": <Current estimate of the HTTP RTT>, |
3177 // "transport_rtt": <Current estimate of the transport RTT>, | 3177 // "transport_rtt": <Current estimate of the transport RTT>, |
3178 // "downstream_throughput": <Current estimate of the downstream throughput>, | 3178 // "downstream_throughput": <Current estimate of the downstream throughput>, |
3179 // "effective_connection_type": <Current estimate of the effective connection | 3179 // "effective_connection_type": <Current estimate of the effective connection |
3180 // type>, | 3180 // type>, |
3181 // } | 3181 // } |
3182 EVENT_TYPE(NETWORK_QUALITY_CHANGED) | 3182 EVENT_TYPE(NETWORK_QUALITY_CHANGED) |
3183 | |
3184 // ----------------------------------------------------------------------------- | |
3185 // Http Server Properties Manager related events | |
3186 // ----------------------------------------------------------------------------- | |
3187 | |
3188 // This event is emitted when HttpServerPropertiesManager initialization starts | |
3189 // and finishes. | |
3190 EVENT_TYPE(HTTP_SERVER_PROPERTIES_INITIALIZATION) | |
Zhongyi Shi
2017/06/19 19:50:24
nit: since these are all manager specific, could y
xunjieli
2017/06/19 20:09:32
Do you feel strongly about adding a MANAGER_ suffi
Zhongyi Shi
2017/06/20 20:00:53
Acknowledged. Okay, sounds like you have considere
| |
3191 | |
3192 // This event is emitted when HttpServerPropertiesManager is updating in-memory | |
3193 // version of HttpServerProperties from the serialized version from perfs/disk. | |
3194 EVENT_TYPE(HTTP_SERVER_PROPERTIES_UPDATE_CACHE) | |
3195 | |
3196 // This event is emitted when HttpServerPropertiesManager is persisting | |
3197 // in-memory version of HttpServerProperties to prefs/disk. | |
3198 EVENT_TYPE(HTTP_SERVER_PROPERTIES_UPDATE_PREFS) | |
OLD | NEW |