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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // (The default behavior is to trigger an OnSSLCertificateError callback). | 57 // (The default behavior is to trigger an OnSSLCertificateError callback). |
58 LOAD_IGNORE_CERT_WRONG_USAGE = 1 << 12, | 58 LOAD_IGNORE_CERT_WRONG_USAGE = 1 << 12, |
59 | 59 |
60 // This load will not make any changes to cookies, including storing new | 60 // This load will not make any changes to cookies, including storing new |
61 // cookies or updating existing ones. | 61 // cookies or updating existing ones. |
62 LOAD_DO_NOT_SAVE_COOKIES = 1 << 13, | 62 LOAD_DO_NOT_SAVE_COOKIES = 1 << 13, |
63 | 63 |
64 // An SDCH dictionary was advertised, and an SDCH encoded response is | 64 // An SDCH dictionary was advertised, and an SDCH encoded response is |
65 // possible. | 65 // possible. |
66 LOAD_SDCH_DICTIONARY_ADVERTISED = 1 << 14, | 66 LOAD_SDCH_DICTIONARY_ADVERTISED = 1 << 14, |
| 67 |
| 68 // Do not resolve proxies. This override is used when downloading PAC files |
| 69 // to avoid having a circular dependency. |
| 70 LOAD_BYPASS_PROXY = 1 << 15, |
67 }; | 71 }; |
68 | 72 |
69 } // namespace net | 73 } // namespace net |
70 | 74 |
71 #endif // NET_BASE_LOAD_FLAGS_H__ | 75 #endif // NET_BASE_LOAD_FLAGS_H__ |
72 | 76 |
OLD | NEW |