diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/net/http/http_auth_handler.h | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
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()| |