| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 // Requires EV certificate verification. | 70 // Requires EV certificate verification. |
| 71 LOAD_FLAG(VERIFY_EV_CERT, 1 << 16) | 71 LOAD_FLAG(VERIFY_EV_CERT, 1 << 16) |
| 72 | 72 |
| 73 // This load will not send any cookies. | 73 // This load will not send any cookies. |
| 74 LOAD_FLAG(DO_NOT_SEND_COOKIES, 1 << 17) | 74 LOAD_FLAG(DO_NOT_SEND_COOKIES, 1 << 17) |
| 75 | 75 |
| 76 // This load will not send authentication data (user name/password) | 76 // This load will not send authentication data (user name/password) |
| 77 // to the server (as opposed to the proxy). | 77 // to the server (as opposed to the proxy). |
| 78 LOAD_FLAG(DO_NOT_SEND_AUTH_DATA, 1 << 18) | 78 LOAD_FLAG(DO_NOT_SEND_AUTH_DATA, 1 << 18) |
| 79 | 79 |
| 80 // This should only be used for testing (set by HttpNetworkTransaction). |
| 81 LOAD_FLAG(IGNORE_ALL_CERT_ERRORS, 1 << 19) |
| OLD | NEW |