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

Side by Side Diff: net/base/load_flags_list.h

Issue 2763393002: Remove stale-while-revalidate from net (Closed)
Patch Set: fixes Created 3 years, 9 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 | « no previous file | net/http/http_cache_transaction.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) 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 // This is the list of load flags and their values. For the enum values, 5 // This is the list of load flags and their values. For the enum values,
6 // include the file "net/base/load_flags.h". 6 // include the file "net/base/load_flags.h".
7 // 7 //
8 // Here we define the values using a macro LOAD_FLAG, so it can be 8 // Here we define the values using a macro LOAD_FLAG, so it can be
9 // expanded differently in some places (for example, to automatically 9 // expanded differently in some places (for example, to automatically
10 // map a load flag value to its symbolic name). 10 // map a load flag value to its symbolic name).
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 // Indicates that the operation is somewhat likely to be due to an 74 // Indicates that the operation is somewhat likely to be due to an
75 // explicit user action. This can be used as a hint to treat the 75 // explicit user action. This can be used as a hint to treat the
76 // request with higher priority. 76 // request with higher priority.
77 LOAD_FLAG(MAYBE_USER_GESTURE, 1 << 15) 77 LOAD_FLAG(MAYBE_USER_GESTURE, 1 << 15)
78 78
79 // Indicates that the username:password portion of the URL should not 79 // Indicates that the username:password portion of the URL should not
80 // be honored, but that other forms of authority may be used. 80 // be honored, but that other forms of authority may be used.
81 LOAD_FLAG(DO_NOT_USE_EMBEDDED_IDENTITY, 1 << 16) 81 LOAD_FLAG(DO_NOT_USE_EMBEDDED_IDENTITY, 1 << 16)
82 82
83 // The creator of this URLRequest wishes to receive stale responses when allowed
84 // by the "Cache-Control: stale-while-revalidate" directive and is able to issue
85 // an async revalidation to update the cache.
86 LOAD_FLAG(SUPPORT_ASYNC_REVALIDATION, 1 << 17)
87
88 // Indicates that this request is not to be migrated to a new network when QUIC 83 // Indicates that this request is not to be migrated to a new network when QUIC
89 // connection migration is enabled. 84 // connection migration is enabled.
90 LOAD_FLAG(DISABLE_CONNECTION_MIGRATION, 1 << 18) 85 LOAD_FLAG(DISABLE_CONNECTION_MIGRATION, 1 << 17)
91 86
92 // Indicates that the cache should not check that the request matches the 87 // Indicates that the cache should not check that the request matches the
93 // response's vary header. 88 // response's vary header.
94 LOAD_FLAG(SKIP_VARY_CHECK, 1 << 19) 89 LOAD_FLAG(SKIP_VARY_CHECK, 1 << 18)
OLDNEW
« no previous file with comments | « no previous file | net/http/http_cache_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698