summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/base/net_error_list.h3
-rw-r--r--net/proxy/proxy_resolver_null.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index 35e0a24..6e1d642 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -38,6 +38,9 @@ NET_ERROR(UNEXPECTED, -9)
// Permission to access a resource was denied.
NET_ERROR(ACCESS_DENIED, -10)
+// The operation failed because of unimplemented functionality.
+NET_ERROR(NOT_IMPLEMENTED, -11)
+
// A connection was closed (corresponding to a TCP FIN).
NET_ERROR(CONNECTION_CLOSED, -100)
diff --git a/net/proxy/proxy_resolver_null.h b/net/proxy/proxy_resolver_null.h
index b9f0b32..17276e8 100644
--- a/net/proxy/proxy_resolver_null.h
+++ b/net/proxy/proxy_resolver_null.h
@@ -13,12 +13,12 @@ namespace net {
class ProxyResolverNull : public ProxyResolver {
public:
virtual int GetProxyConfig(ProxyConfig* config) {
- return ERR_FAILED;
+ return ERR_NOT_IMPLEMENTED;
}
virtual int GetProxyForURL(const std::string& query_url,
const std::string& pac_url,
ProxyInfo* results) {
- return ERR_FAILED;
+ return ERR_NOT_IMPLEMENTED;
}
};