Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Unified Diff: net/http/http_auth.h

Issue 1408433006: Support tls-server-end-point channel bindings for HTTP authentication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_auth.h
diff --git a/net/http/http_auth.h b/net/http/http_auth.h
index 5a2c7ac6606e3353f4d32ab37a96b78760ba8a06..4aa1a8ef8159ff1591653d07b5d0adf03f22e767 100644
--- a/net/http/http_auth.h
+++ b/net/http/http_auth.h
@@ -20,7 +20,7 @@ namespace net {
class BoundNetLog;
class HttpAuthHandler;
class HttpAuthHandlerFactory;
-class HttpResponseHeaders;
+class HttpResponseInfo;
// Utility class for http authentication.
class NET_EXPORT_PRIVATE HttpAuth {
@@ -133,7 +133,7 @@ class NET_EXPORT_PRIVATE HttpAuth {
// construct the service principal name. It is ignored by other schemes.
static void ChooseBestChallenge(
HttpAuthHandlerFactory* http_auth_handler_factory,
- const HttpResponseHeaders* headers,
+ const HttpResponseInfo& response_info,
Target target,
const GURL& origin,
const std::set<Scheme>& disabled_schemes,
@@ -163,7 +163,7 @@ class NET_EXPORT_PRIVATE HttpAuth {
// the value is cleared.
static AuthorizationResult HandleChallengeResponse(
HttpAuthHandler* handler,
- const HttpResponseHeaders* headers,
+ const HttpResponseInfo& response_info,
Target target,
const std::set<Scheme>& disabled_schemes,
std::string* challenge_used);

Powered by Google App Engine
This is Rietveld 408576698