Index: net/http/http_auth_handler.h |
diff --git a/net/http/http_auth_handler.h b/net/http/http_auth_handler.h |
index 1aee79556b0502e86929e625259932c379573ace..249c599e7be91a2912645dab57b0a9d34b2e9146 100644 |
--- a/net/http/http_auth_handler.h |
+++ b/net/http/http_auth_handler.h |
@@ -16,6 +16,7 @@ namespace net { |
class HttpAuthChallengeTokenizer; |
struct HttpRequestInfo; |
+class HttpResponseInfo; |
// HttpAuthHandler is the interface for the authentication schemes |
// (basic, digest, NTLM, Negotiate). |
@@ -32,6 +33,7 @@ class NET_EXPORT_PRIVATE HttpAuthHandler { |
// for later use, and are not part of the initial challenge. |
bool InitFromChallenge(HttpAuthChallengeTokenizer* challenge, |
HttpAuth::Target target, |
+ const HttpResponseInfo& response_info, |
const GURL& origin, |
const BoundNetLog& net_log); |
@@ -150,7 +152,8 @@ class NET_EXPORT_PRIVATE HttpAuthHandler { |
// authentication scheme. |
// Implementations are expected to initialize the following members: |
// scheme_, realm_, score_, properties_ |
- virtual bool Init(HttpAuthChallengeTokenizer* challenge) = 0; |
+ virtual bool Init(HttpAuthChallengeTokenizer* challenge, |
+ const HttpResponseInfo& response_info) = 0; |
// |GenerateAuthTokenImpl()} is the auth-scheme specific implementation |
// of generating the next auth token. Callers should use |GenerateAuthToken()| |