Chromium Code Reviews| 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 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1296 EVENT_TYPE(BIDIRECTIONAL_STREAM_READY) | 1296 EVENT_TYPE(BIDIRECTIONAL_STREAM_READY) |
| 1297 | 1297 |
| 1298 // This event is used when stream has failed. | 1298 // This event is used when stream has failed. |
| 1299 // The following parameters are attached: | 1299 // The following parameters are attached: |
| 1300 // { | 1300 // { |
| 1301 // "net_error": <Net error code for the failure>, | 1301 // "net_error": <Net error code for the failure>, |
| 1302 // } | 1302 // } |
| 1303 EVENT_TYPE(BIDIRECTIONAL_STREAM_FAILED) | 1303 EVENT_TYPE(BIDIRECTIONAL_STREAM_FAILED) |
| 1304 | 1304 |
| 1305 // ------------------------------------------------------------------------ | 1305 // ------------------------------------------------------------------------ |
| 1306 // PUSH_LOOKUP_TRANSACTION | |
| 1307 // ------------------------------------------------------------------------ | |
| 1308 | |
| 1309 // The start/end of a push lookup transaction for server push. | |
| 1310 // { | |
| 1311 // "source_dependency": <Source identifier for the server push lookp. | |
| 1312 // It can be a QUIC_SESSION or a HTTP2_SESSION>, | |
| 1313 // "pushed_url": <The url that has been pushed and looked up>, | |
| 1314 // } | |
| 1315 EVENT_TYPE(PUSH_LOOKUP_TRANSACTION) | |
| 1316 EVENT_TYPE(PUSH_FOUND_IN_CACHE) | |
|
Ryan Hamilton
2017/02/06 23:34:55
Can you add a comment for PUSH_FOUND_IN_CACHE?
| |
| 1317 | |
| 1318 // ------------------------------------------------------------------------ | |
| 1306 // SpdySession | 1319 // SpdySession |
| 1307 // ------------------------------------------------------------------------ | 1320 // ------------------------------------------------------------------------ |
| 1308 | 1321 |
| 1309 // The start/end of a SpdySession. | 1322 // The start/end of a SpdySession. |
| 1310 // { | 1323 // { |
| 1311 // "host": <The host-port string>, | 1324 // "host": <The host-port string>, |
| 1312 // "proxy": <The Proxy PAC string>, | 1325 // "proxy": <The Proxy PAC string>, |
| 1313 // } | 1326 // } |
| 1314 EVENT_TYPE(HTTP2_SESSION) | 1327 EVENT_TYPE(HTTP2_SESSION) |
| 1315 | 1328 |
| (...skipping 1784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3100 // quality of the network has changed. | 3113 // quality of the network has changed. |
| 3101 // parameters: | 3114 // parameters: |
| 3102 // { | 3115 // { |
| 3103 // "http_rtt": <Current estimate of the HTTP RTT>, | 3116 // "http_rtt": <Current estimate of the HTTP RTT>, |
| 3104 // "transport_rtt": <Current estimate of the transport RTT>, | 3117 // "transport_rtt": <Current estimate of the transport RTT>, |
| 3105 // "downstream_throughput": <Current estimate of the downstream throughput>, | 3118 // "downstream_throughput": <Current estimate of the downstream throughput>, |
| 3106 // "effective_connection_type": <Current estimate of the effective connection | 3119 // "effective_connection_type": <Current estimate of the effective connection |
| 3107 // type>, | 3120 // type>, |
| 3108 // } | 3121 // } |
| 3109 EVENT_TYPE(NETWORK_QUALITY_CHANGED) | 3122 EVENT_TYPE(NETWORK_QUALITY_CHANGED) |
| OLD | NEW |