| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef NET_BASE_LOAD_FLAGS_H__ | 5 #ifndef NET_BASE_LOAD_FLAGS_H__ |
| 6 #define NET_BASE_LOAD_FLAGS_H__ | 6 #define NET_BASE_LOAD_FLAGS_H__ |
| 7 | 7 |
| 8 namespace net { | 8 namespace net { |
| 9 | 9 |
| 10 // These flags provide metadata about the type of the load request. They are | 10 // These flags provide metadata about the type of the load request. They are |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 LOAD_IGNORE_CERT_REVOCATION = 1 << 11, | 59 LOAD_IGNORE_CERT_REVOCATION = 1 << 11, |
| 60 | 60 |
| 61 // If present, ignores wrong key usage of the certificate | 61 // If present, ignores wrong key usage of the certificate |
| 62 // (The default behavior is to trigger an OnSSLCertificateError callback). | 62 // (The default behavior is to trigger an OnSSLCertificateError callback). |
| 63 LOAD_IGNORE_CERT_WRONG_USAGE = 1 << 12, | 63 LOAD_IGNORE_CERT_WRONG_USAGE = 1 << 12, |
| 64 | 64 |
| 65 // This load will not make any changes to cookies, including storing new | 65 // This load will not make any changes to cookies, including storing new |
| 66 // cookies or updating existing ones. | 66 // cookies or updating existing ones. |
| 67 LOAD_DO_NOT_SAVE_COOKIES = 1 << 13, | 67 LOAD_DO_NOT_SAVE_COOKIES = 1 << 13, |
| 68 | 68 |
| 69 // An SDCH dictionary was advertised, and an SDCH encoded response is | |
| 70 // possible. | |
| 71 LOAD_SDCH_DICTIONARY_ADVERTISED = 1 << 14, | |
| 72 | |
| 73 // Do not resolve proxies. This override is used when downloading PAC files | 69 // Do not resolve proxies. This override is used when downloading PAC files |
| 74 // to avoid having a circular dependency. | 70 // to avoid having a circular dependency. |
| 75 LOAD_BYPASS_PROXY = 1 << 15, | 71 LOAD_BYPASS_PROXY = 1 << 14, |
| 76 | 72 |
| 77 // Indicate this request is for a download, as opposed to viewing. | 73 // Indicate this request is for a download, as opposed to viewing. |
| 78 LOAD_IS_DOWNLOAD = 1 << 16, | 74 LOAD_IS_DOWNLOAD = 1 << 15, |
| 79 }; | 75 }; |
| 80 | 76 |
| 81 } // namespace net | 77 } // namespace net |
| 82 | 78 |
| 83 #endif // NET_BASE_LOAD_FLAGS_H__ | 79 #endif // NET_BASE_LOAD_FLAGS_H__ |
| OLD | NEW |