| Index: components/cast_channel/cast_socket_unittest.cc
|
| diff --git a/components/cast_channel/cast_socket_unittest.cc b/components/cast_channel/cast_socket_unittest.cc
|
| index 59e5eef51d52a397da54d28caf2776dca0339ada..2e33f94c476d968915f39c501956e1926dd24579 100644
|
| --- a/components/cast_channel/cast_socket_unittest.cc
|
| +++ b/components/cast_channel/cast_socket_unittest.cc
|
| @@ -175,32 +175,27 @@ class TestCastSocket : public CastSocketImpl {
|
| static std::unique_ptr<TestCastSocket> CreateSecure(
|
| Logger* logger,
|
| uint64_t device_capabilities = cast_channel::CastDeviceCapability::NONE) {
|
| - return std::unique_ptr<TestCastSocket>(new TestCastSocket(
|
| - CreateIPEndPointForTest(), ChannelAuthType::SSL_VERIFIED,
|
| - kDistantTimeoutMillis, logger, device_capabilities));
|
| + return std::unique_ptr<TestCastSocket>(
|
| + new TestCastSocket(CreateIPEndPointForTest(), kDistantTimeoutMillis,
|
| + logger, device_capabilities));
|
| }
|
|
|
| TestCastSocket(const net::IPEndPoint& ip_endpoint,
|
| - ChannelAuthType channel_auth,
|
| int64_t timeout_ms,
|
| Logger* logger,
|
| uint64_t device_capabilities)
|
| : TestCastSocket(ip_endpoint,
|
| - channel_auth,
|
| timeout_ms,
|
| logger,
|
| new net::TestNetLog(),
|
| device_capabilities) {}
|
|
|
| TestCastSocket(const net::IPEndPoint& ip_endpoint,
|
| - ChannelAuthType channel_auth,
|
| int64_t timeout_ms,
|
| Logger* logger,
|
| net::TestNetLog* capturing_net_log,
|
| uint64_t device_capabilities)
|
| - : CastSocketImpl("some_extension_id",
|
| - ip_endpoint,
|
| - channel_auth,
|
| + : CastSocketImpl(ip_endpoint,
|
| capturing_net_log,
|
| base::TimeDelta::FromMilliseconds(timeout_ms),
|
| false,
|
|
|