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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 | 84 |
85 // Send request directly to the origin if the effective proxy is the data | 85 // Send request directly to the origin if the effective proxy is the data |
86 // reduction proxy. | 86 // reduction proxy. |
87 // TODO(rcs): Remove this flag as soon as http://crbug.com/339237 is resolved. | 87 // TODO(rcs): Remove this flag as soon as http://crbug.com/339237 is resolved. |
88 LOAD_FLAG(BYPASS_DATA_REDUCTION_PROXY, 1 << 18) | 88 LOAD_FLAG(BYPASS_DATA_REDUCTION_PROXY, 1 << 18) |
89 | 89 |
90 // The creator of this URLRequest wishes to receive stale responses when allowed | |
91 // by the Cache-Control: stale-while-revalidate directive and is able to issue | |
tyoshino (SeeGerritForStatus)
2015/06/15 09:40:02
please double quote the header name and value
"Ca
Adam Rice
2015/06/15 10:17:41
Done.
| |
92 // an async revalidation to update the cache. | |
93 LOAD_FLAG(SUPPORT_ASYNC_REVALIDATION, 1 << 19) | |
OLD | NEW |