diff options
Diffstat (limited to 'chromium/net/websockets/websocket_basic_stream_adapters_test.cc')
-rw-r--r-- | chromium/net/websockets/websocket_basic_stream_adapters_test.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/net/websockets/websocket_basic_stream_adapters_test.cc b/chromium/net/websockets/websocket_basic_stream_adapters_test.cc index 2c6a12a4571..f23d13ba030 100644 --- a/chromium/net/websockets/websocket_basic_stream_adapters_test.cc +++ b/chromium/net/websockets/websocket_basic_stream_adapters_test.cc @@ -9,7 +9,6 @@ #include "base/bind.h" #include "base/memory/scoped_refptr.h" #include "base/memory/weak_ptr.h" -#include "base/optional.h" #include "base/run_loop.h" #include "base/strings/string_piece.h" #include "net/base/host_port_pair.h" @@ -19,6 +18,7 @@ #include "net/base/proxy_server.h" #include "net/base/test_completion_callback.h" #include "net/dns/mock_host_resolver.h" +#include "net/dns/public/secure_dns_policy.h" #include "net/http/http_network_session.h" #include "net/log/net_log_with_source.h" #include "net/socket/client_socket_handle.h" @@ -41,6 +41,7 @@ #include "net/websockets/websocket_test_util.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" +#include "third_party/abseil-cpp/absl/types/optional.h" using testing::Test; using testing::StrictMock; @@ -71,7 +72,7 @@ class WebSocketClientSocketHandleAdapterTest : public TestWithTaskEnvironment { ClientSocketPool::GroupId( host_port_pair_, ClientSocketPool::SocketType::kSsl, PrivacyMode::PRIVACY_MODE_DISABLED, NetworkIsolationKey(), - false /* disable_secure_dns */), + SecureDnsPolicy::kAllow), socks_params, TRAFFIC_ANNOTATION_FOR_TESTS /* proxy_annotation_tag */, MEDIUM, SocketTag(), ClientSocketPool::RespectLimits::ENABLED, callback.callback(), ClientSocketPool::ProxyAuthCallback(), @@ -288,7 +289,7 @@ class WebSocketSpdyStreamAdapterTest : public TestWithTaskEnvironment { SpdySessionKey::IsProxySession::kFalse, SocketTag(), NetworkIsolationKey(), - false /* disable_secure_dns */), + SecureDnsPolicy::kAllow), session_(SpdySessionDependencies::SpdyCreateSession(&session_deps_)), ssl_(SYNCHRONOUS, OK) {} |