| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 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 | 84 // by the "Cache-Control: stale-while-revalidate" directive and is able to issue |
| 85 // an async revalidation to update the cache. | 85 // an async revalidation to update the cache. |
| 86 LOAD_FLAG(SUPPORT_ASYNC_REVALIDATION, 1 << 17) | 86 LOAD_FLAG(SUPPORT_ASYNC_REVALIDATION, 1 << 17) |
| 87 | 87 |
| 88 // Indicates that this request is not to be migrated to a new network when QUIC | 88 // Indicates that this request is not to be migrated to a new network when QUIC |
| 89 // connection migration is enabled. | 89 // connection migration is enabled. |
| 90 LOAD_FLAG(DISABLE_CONNECTION_MIGRATION, 1 << 18) | 90 LOAD_FLAG(DISABLE_CONNECTION_MIGRATION, 1 << 18) |
| 91 |
| 92 // Indicates that the cache should not check that the request matches the |
| 93 // response's vary header. |
| 94 LOAD_FLAG(SKIP_VARY_CHECK, 1 << 19) |
| OLD | NEW |