| Index: net/socket/fuzzed_socket_factory.cc
|
| diff --git a/net/socket/fuzzed_socket_factory.cc b/net/socket/fuzzed_socket_factory.cc
|
| index acf02309625d3ff1a0d2085f21890fefca62ac5d..3b4746c49e24c0c82eca940c95620af0ff1615f9 100644
|
| --- a/net/socket/fuzzed_socket_factory.cc
|
| +++ b/net/socket/fuzzed_socket_factory.cc
|
| @@ -11,7 +11,7 @@
|
| #include "net/base/ip_endpoint.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/base/network_change_notifier.h"
|
| -#include "net/log/net_log.h"
|
| +#include "net/log/net_log_with_source.h"
|
| #include "net/socket/client_socket_handle.h"
|
| #include "net/socket/connection_attempts.h"
|
| #include "net/socket/fuzzed_socket.h"
|
| @@ -20,6 +20,8 @@
|
|
|
| namespace net {
|
|
|
| +class NetLog;
|
| +
|
| namespace {
|
|
|
| // SSLClientSocket implementation that always fails to connect.
|
| @@ -136,7 +138,7 @@ FuzzedSocketFactory::CreateDatagramClientSocket(
|
| DatagramSocket::BindType bind_type,
|
| const RandIntCallback& rand_int_cb,
|
| NetLog* net_log,
|
| - const NetLog::Source& source) {
|
| + const NetLogSource& source) {
|
| return base::MakeUnique<FuzzedDatagramClientSocket>(data_provider_);
|
| }
|
|
|
| @@ -144,7 +146,7 @@ std::unique_ptr<StreamSocket> FuzzedSocketFactory::CreateTransportClientSocket(
|
| const AddressList& addresses,
|
| std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher,
|
| NetLog* net_log,
|
| - const NetLog::Source& source) {
|
| + const NetLogSource& source) {
|
| std::unique_ptr<FuzzedSocket> socket(
|
| new FuzzedSocket(data_provider_, net_log));
|
| socket->set_fuzz_connect_result(true);
|
|
|