diff options
Diffstat (limited to 'chromium/net/http/http_auth_handler.h')
-rw-r--r-- | chromium/net/http/http_auth_handler.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/chromium/net/http/http_auth_handler.h b/chromium/net/http/http_auth_handler.h index c8d3b9f4761..1a17af7a43f 100644 --- a/chromium/net/http/http_auth_handler.h +++ b/chromium/net/http/http_auth_handler.h @@ -15,6 +15,7 @@ namespace net { +class NetworkIsolationKey; class HttpAuthChallengeTokenizer; struct HttpRequestInfo; class SSLInfo; @@ -43,10 +44,13 @@ class NET_EXPORT_PRIVATE HttpAuthHandler { // |target| and |origin| are both stored for later use, and are not part of // the initial challenge. // |ssl_info| must be valid if the underlying connection used a certificate. + // |network_isolation_key| the NetworkIsolationKey associated with the + // challenge. Used for host resolutions, if any are needed. // |net_log| to be used for logging. bool InitFromChallenge(HttpAuthChallengeTokenizer* challenge, HttpAuth::Target target, const SSLInfo& ssl_info, + const NetworkIsolationKey& network_isolation_key, const GURL& origin, const NetLogWithSource& net_log); @@ -178,10 +182,13 @@ class NET_EXPORT_PRIVATE HttpAuthHandler { // If the request was sent over an encrypted connection, |ssl_info| is valid // and describes the connection. // + // NetworkIsolationKey is the NetworkIsolationKey associated with the request. + // // Implementations are expected to initialize the following members: // scheme_, realm_, score_, properties_ virtual bool Init(HttpAuthChallengeTokenizer* challenge, - const SSLInfo& ssl_info) = 0; + const SSLInfo& ssl_info, + const NetworkIsolationKey& network_isolation_key) = 0; // |GenerateAuthTokenImpl()} is the auth-scheme specific implementation // of generating the next auth token. Callers should use |GenerateAuthToken()| |