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 // 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
118 LOAD_FLAG(MAYBE_USER_GESTURE, 1 << 26) | 118 LOAD_FLAG(MAYBE_USER_GESTURE, 1 << 26) |
119 | 119 |
120 // Indicates that the username:password portion of the URL should not | 120 // Indicates that the username:password portion of the URL should not |
121 // be honored, but that other forms of authority may be used. | 121 // be honored, but that other forms of authority may be used. |
122 LOAD_FLAG(DO_NOT_USE_EMBEDDED_IDENTITY, 1 << 27) | 122 LOAD_FLAG(DO_NOT_USE_EMBEDDED_IDENTITY, 1 << 27) |
123 | 123 |
124 // Send request directly to the origin if the effective proxy is the data | 124 // Send request directly to the origin if the effective proxy is the data |
125 // reduction proxy. | 125 // reduction proxy. |
126 // TODO(rcs): Remove this flag as soon as http://crbug.com/339237 is resolved. | 126 // TODO(rcs): Remove this flag as soon as http://crbug.com/339237 is resolved. |
127 LOAD_FLAG(BYPASS_DATA_REDUCTION_PROXY, 1 << 28) | 127 LOAD_FLAG(BYPASS_DATA_REDUCTION_PROXY, 1 << 28) |
128 | |
129 // Indicates the the request is an asynchronous revalidation. Currently this | |
130 // flag just prevents re-entering the async code path, so you probably don't | |
rvargas (doing something else)
2014/09/05 22:52:39
nit: The comment risks becoming stale without noti
Adam Rice
2014/09/09 12:36:45
I removed the comment. I'm still concerned about c
rvargas (doing something else)
2014/09/11 02:33:05
Fair point. We could consider naming this closer t
| |
131 // want to use it. | |
132 LOAD_FLAG(ASYNC_REVALIDATION, 1 << 29) | |
OLD | NEW |