summaryrefslogtreecommitdiffstats
path: root/net/http/http_proxy_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_proxy_utils.h')
-rw-r--r--net/http/http_proxy_utils.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/net/http/http_proxy_utils.h b/net/http/http_proxy_utils.h
index 9d18fc8..3257f7f 100644
--- a/net/http/http_proxy_utils.h
+++ b/net/http/http_proxy_utils.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -10,6 +10,9 @@
namespace net {
+class BoundNetLog;
+class HttpAuthController;
+class HttpResponseInfo;
struct HttpRequestInfo;
class HttpRequestHeaders;
class HostPortPair;
@@ -23,6 +26,12 @@ void BuildTunnelRequest(const HttpRequestInfo& request_info,
std::string* request_line,
HttpRequestHeaders* request_headers);
+// When an auth challenge (407 response) is received during tunnel construction
+// this method should be called.
+int HandleAuthChallenge(HttpAuthController *auth,
+ HttpResponseInfo* response,
+ const BoundNetLog& net_log);
+
} // namespace net
#endif // NET_HTTP_HTTP_PROXY_UTILS_H_