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 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 // "headers": <The list of header:value pairs>, | 867 // "headers": <The list of header:value pairs>, |
868 // } | 868 // } |
869 EVENT_TYPE(HTTP_CACHE_CALLER_REQUEST_HEADERS) | 869 EVENT_TYPE(HTTP_CACHE_CALLER_REQUEST_HEADERS) |
870 | 870 |
871 // Signal a significant change on the flow of the state machine: start again | 871 // Signal a significant change on the flow of the state machine: start again |
872 // from scratch or create a new network request for byte-range operations. | 872 // from scratch or create a new network request for byte-range operations. |
873 // There are no parameters. | 873 // There are no parameters. |
874 EVENT_TYPE(HTTP_CACHE_RESTART_PARTIAL_REQUEST) | 874 EVENT_TYPE(HTTP_CACHE_RESTART_PARTIAL_REQUEST) |
875 EVENT_TYPE(HTTP_CACHE_RE_SEND_PARTIAL_REQUEST) | 875 EVENT_TYPE(HTTP_CACHE_RE_SEND_PARTIAL_REQUEST) |
876 | 876 |
877 // Identifies the NetLog::Source() for the asynchronous HttpCache::Transaction | |
878 // that will revalidate this entry. | |
879 // The event parameters are: | |
880 // { | |
881 // "source_dependency": <Source identifier for the async Transaction> | |
882 // } | |
883 EVENT_TYPE(HTTP_CACHE_VALIDATE_RESOURCE_ASYNC) | |
884 | |
885 // The start/end of performing an async revalidation. | |
886 // For the BEGIN phase, the event parameters are: | |
887 // { | |
888 // "source_dependency": <Source identifier for the Request> | |
889 // "url": <String of URL being loaded>, | |
890 // "method": <Method of request> | |
891 // } | |
892 // | |
893 // For the END phase, if there was an error, the following parameters are | |
894 // attached: | |
895 // { | |
896 // "net_error": <Net error code of the failure>, | |
897 // } | |
898 EVENT_TYPE(ASYNC_REVALIDATION) | |
899 | |
900 // ------------------------------------------------------------------------ | 877 // ------------------------------------------------------------------------ |
901 // Disk Cache / Memory Cache | 878 // Disk Cache / Memory Cache |
902 // ------------------------------------------------------------------------ | 879 // ------------------------------------------------------------------------ |
903 | 880 |
904 // The creation/destruction of a disk_cache::EntryImpl object. The "creation" | 881 // The creation/destruction of a disk_cache::EntryImpl object. The "creation" |
905 // is considered to be the point at which an Entry is first considered to be | 882 // is considered to be the point at which an Entry is first considered to be |
906 // good and associated with a key. Note that disk and memory cache entries | 883 // good and associated with a key. Note that disk and memory cache entries |
907 // share event types. | 884 // share event types. |
908 // | 885 // |
909 // For the BEGIN phase, the following parameters are attached: | 886 // For the BEGIN phase, the following parameters are attached: |
(...skipping 1634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2544 // | 2521 // |
2545 // The END phase contains the following parameters: | 2522 // The END phase contains the following parameters: |
2546 // { | 2523 // { |
2547 // "net_error": <The net_error of the completion of the config request>, | 2524 // "net_error": <The net_error of the completion of the config request>, |
2548 // "http_response_code": <The HTTP response code of the config request>, | 2525 // "http_response_code": <The HTTP response code of the config request>, |
2549 // "failure_count": <The number of consecutive config request failures>, | 2526 // "failure_count": <The number of consecutive config request failures>, |
2550 // "retry_delay_seconds": <The length of time after which another config | 2527 // "retry_delay_seconds": <The length of time after which another config |
2551 // request will be made>, | 2528 // request will be made>, |
2552 // } | 2529 // } |
2553 EVENT_TYPE(DATA_REDUCTION_PROXY_CONFIG_REQUEST) | 2530 EVENT_TYPE(DATA_REDUCTION_PROXY_CONFIG_REQUEST) |
OLD | NEW |