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

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

Issue 1039263002: //net changes for stale-while-revalidate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@s-w-r-remove-old-impl
Patch Set: Rebase. Created 5 years, 4 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.cc » ('j') | net/http/http_cache_transaction.cc » ('J')
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 LOAD_FLAG(IGNORE_LIMITS, 1 << 15) 74 LOAD_FLAG(IGNORE_LIMITS, 1 << 15)
75 75
76 // Indicates that the operation is somewhat likely to be due to an 76 // Indicates that the operation is somewhat likely to be due to an
77 // explicit user action. This can be used as a hint to treat the 77 // explicit user action. This can be used as a hint to treat the
78 // request with higher priority. 78 // request with higher priority.
79 LOAD_FLAG(MAYBE_USER_GESTURE, 1 << 16) 79 LOAD_FLAG(MAYBE_USER_GESTURE, 1 << 16)
80 80
81 // Indicates that the username:password portion of the URL should not 81 // Indicates that the username:password portion of the URL should not
82 // be honored, but that other forms of authority may be used. 82 // be honored, but that other forms of authority may be used.
83 LOAD_FLAG(DO_NOT_USE_EMBEDDED_IDENTITY, 1 << 17) 83 LOAD_FLAG(DO_NOT_USE_EMBEDDED_IDENTITY, 1 << 17)
84
85 // The creator of this URLRequest wishes to receive stale responses when allowed
86 // by the "Cache-Control: stale-while-revalidate" directive and is able to issue
87 // an async revalidation to update the cache.
88 LOAD_FLAG(SUPPORT_ASYNC_REVALIDATION, 1 << 19)
rvargas (doing something else) 2015/08/20 22:26:28 Why skip 18?
Adam Rice 2015/08/21 15:01:46 Merging is hard. Fixed.
OLDNEW
« no previous file with comments | « no previous file | net/http/http_cache_transaction.cc » ('j') | net/http/http_cache_transaction.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698