diff options
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/load_flags.h | 4 | ||||
-rw-r--r-- | net/base/net_error_list.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/net/base/load_flags.h b/net/base/load_flags.h index bf5e02f..7e3642a 100644 --- a/net/base/load_flags.h +++ b/net/base/load_flags.h @@ -64,6 +64,10 @@ enum { // An SDCH dictionary was advertised, and an SDCH encoded response is // possible. LOAD_SDCH_DICTIONARY_ADVERTISED = 1 << 14, + + // Do not resolve proxies. This override is used when downloading PAC files + // to avoid having a circular dependency. + LOAD_BYPASS_PROXY = 1 << 15, }; } // namespace net diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h index d632fff..c7c66c0 100644 --- a/net/base/net_error_list.h +++ b/net/base/net_error_list.h @@ -220,6 +220,9 @@ NET_ERROR(EMPTY_RESPONSE, -324) // The headers section of the response is too large. NET_ERROR(RESPONSE_HEADERS_TOO_BIG, -325) + +// The PAC requested by HTTP did not have a valid status code (non-200). +NET_ERROR(PAC_STATUS_NOT_OK, -326) // The cache does not have the requested entry. NET_ERROR(CACHE_MISS, -400) |