Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Side by Side Diff: net/log/net_log_event_type_list.h

Issue 1041763002: Remove stale-while-revalidate experimental implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/log/net_log_source_type_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/log/net_log_source_type_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698