| 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) |
| 3191 |
| 3192 // This event is emitted when HttpServerPropertiesManager is updating in-memory |
| 3193 // version of HttpServerProperties from the serialized version from perfs/disk. |
| 3194 // parameters: |
| 3195 // { |
| 3196 // "servers": <List of servers and their protocol usage information>, |
| 3197 // "supports_quic": <Local IP addresses that used QUIC>, |
| 3198 // "version": <The version number>, |
| 3199 // } |
| 3200 EVENT_TYPE(HTTP_SERVER_PROPERTIES_UPDATE_CACHE) |
| 3201 |
| 3202 // This event is emitted when HttpServerPropertiesManager is persisting |
| 3203 // in-memory version of HttpServerProperties to prefs/disk. |
| 3204 // parameters: |
| 3205 // { |
| 3206 // "servers": <List of servers and their protocol usage information>, |
| 3207 // "supports_quic": <Local IP addresses that used QUIC>, |
| 3208 // "version": <The version number>, |
| 3209 // } |
| 3210 EVENT_TYPE(HTTP_SERVER_PROPERTIES_UPDATE_PREFS) |
| OLD | NEW |