summaryrefslogtreecommitdiff
path: root/chromium/net/socket/socks_client_socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/socket/socks_client_socket.h')
-rw-r--r--chromium/net/socket/socks_client_socket.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/net/socket/socks_client_socket.h b/chromium/net/socket/socks_client_socket.h
index 95e6daa658c..9005b12af32 100644
--- a/chromium/net/socket/socks_client_socket.h
+++ b/chromium/net/socket/socks_client_socket.h
@@ -21,6 +21,7 @@
#include "net/base/net_export.h"
#include "net/dns/host_resolver.h"
#include "net/dns/public/resolve_error_info.h"
+#include "net/dns/public/secure_dns_policy.h"
#include "net/log/net_log_with_source.h"
#include "net/socket/stream_socket.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
@@ -38,7 +39,7 @@ class NET_EXPORT_PRIVATE SOCKSClientSocket : public StreamSocket {
const NetworkIsolationKey& network_isolation_key,
RequestPriority priority,
HostResolver* host_resolver,
- bool disable_secure_dns,
+ SecureDnsPolicy secure_dns_policy,
const NetworkTrafficAnnotationTag& traffic_annotation);
// On destruction Disconnect() is called.
@@ -143,7 +144,7 @@ class NET_EXPORT_PRIVATE SOCKSClientSocket : public StreamSocket {
// Used to resolve the hostname to which the SOCKS proxy will connect.
HostResolver* host_resolver_;
- bool disable_secure_dns_;
+ SecureDnsPolicy secure_dns_policy_;
std::unique_ptr<HostResolver::ResolveHostRequest> resolve_host_request_;
const HostPortPair destination_;
const NetworkIsolationKey network_isolation_key_;