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

Unified Diff: net/http/http_auth_handler_negotiate.h

Issue 2214693002: First step to remove SingleRequestHostResolver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: single Created 4 years, 4 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
« no previous file with comments | « net/ftp/ftp_network_transaction.cc ('k') | net/http/http_auth_handler_negotiate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_handler_negotiate.h
diff --git a/net/http/http_auth_handler_negotiate.h b/net/http/http_auth_handler_negotiate.h
index 0f9154e1246cc98200e7a66c3ecce4723af0c158..957b2180906b03c229e2f7406fdfd9b5f55f7075 100644
--- a/net/http/http_auth_handler_negotiate.h
+++ b/net/http/http_auth_handler_negotiate.h
@@ -11,6 +11,7 @@
#include "build/build_config.h"
#include "net/base/address_list.h"
#include "net/base/net_export.h"
+#include "net/dns/host_resolver.h"
#include "net/http/http_auth_handler.h"
#include "net/http/http_auth_handler_factory.h"
@@ -25,8 +26,6 @@
namespace net {
class HttpAuthPreferences;
-class HostResolver;
-class SingleRequestHostResolver;
// Handler for WWW-Authenticate: Negotiate protocol.
//
@@ -137,7 +136,7 @@ class NET_EXPORT_PRIVATE HttpAuthHandlerNegotiate : public HttpAuthHandler {
// Members which are needed for DNS lookup + SPN.
AddressList address_list_;
- std::unique_ptr<SingleRequestHostResolver> single_resolve_;
+ std::unique_ptr<net::HostResolver::Request> request_;
// Things which should be consistent after first call to GenerateAuthToken.
bool already_called_;
« no previous file with comments | « net/ftp/ftp_network_transaction.cc ('k') | net/http/http_auth_handler_negotiate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698