OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
838 // } | 838 // } |
839 EVENT_TYPE(HTTP_TRANSACTION_READ_RESPONSE_HEADERS) | 839 EVENT_TYPE(HTTP_TRANSACTION_READ_RESPONSE_HEADERS) |
840 | 840 |
841 // Measures the time to read the entity body from the server. | 841 // Measures the time to read the entity body from the server. |
842 EVENT_TYPE(HTTP_TRANSACTION_READ_BODY) | 842 EVENT_TYPE(HTTP_TRANSACTION_READ_BODY) |
843 | 843 |
844 // Measures the time taken to read the response out of the socket before | 844 // Measures the time taken to read the response out of the socket before |
845 // restarting for authentication, on keep alive connections. | 845 // restarting for authentication, on keep alive connections. |
846 EVENT_TYPE(HTTP_TRANSACTION_DRAIN_BODY_FOR_AUTH_RESTART) | 846 EVENT_TYPE(HTTP_TRANSACTION_DRAIN_BODY_FOR_AUTH_RESTART) |
847 | 847 |
| 848 // This event is sent when we try to restart a transaction after an error. |
| 849 // The following parameters are attached: |
| 850 // { |
| 851 // "net_error": <The net error code integer for the failure>, |
| 852 // } |
| 853 EVENT_TYPE(HTTP_TRANSACTION_RESTART_AFTER_ERROR) |
| 854 |
848 // ------------------------------------------------------------------------ | 855 // ------------------------------------------------------------------------ |
849 // SpdySession | 856 // SpdySession |
850 // ------------------------------------------------------------------------ | 857 // ------------------------------------------------------------------------ |
851 | 858 |
852 // The start/end of a SpdySession. | 859 // The start/end of a SpdySession. |
853 // { | 860 // { |
854 // "host": <The host-port string>, | 861 // "host": <The host-port string>, |
855 // "proxy": <The Proxy PAC string>, | 862 // "proxy": <The Proxy PAC string>, |
856 // } | 863 // } |
857 EVENT_TYPE(SPDY_SESSION) | 864 EVENT_TYPE(SPDY_SESSION) |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1315 // This event is created when we start a CertVerifier job. | 1322 // This event is created when we start a CertVerifier job. |
1316 EVENT_TYPE(CERT_VERIFIER_JOB) | 1323 EVENT_TYPE(CERT_VERIFIER_JOB) |
1317 | 1324 |
1318 // This event is created when a CertVerifier request attaches to a job. | 1325 // This event is created when a CertVerifier request attaches to a job. |
1319 // | 1326 // |
1320 // The event parameters are: | 1327 // The event parameters are: |
1321 // { | 1328 // { |
1322 // "source_dependency": <Source identifer for the job we are bound to>, | 1329 // "source_dependency": <Source identifer for the job we are bound to>, |
1323 // } | 1330 // } |
1324 EVENT_TYPE(CERT_VERIFIER_REQUEST_BOUND_TO_JOB) | 1331 EVENT_TYPE(CERT_VERIFIER_REQUEST_BOUND_TO_JOB) |
OLD | NEW |