| Index: net/socket/fuzzed_socket_factory.h
|
| diff --git a/net/socket/fuzzed_socket_factory.h b/net/socket/fuzzed_socket_factory.h
|
| index 0f567adc8bc26dce119e0fc8be03d31218539cea..a7f1dd5a7d8c55db9a7560852702a2571332062b 100644
|
| --- a/net/socket/fuzzed_socket_factory.h
|
| +++ b/net/socket/fuzzed_socket_factory.h
|
| @@ -10,9 +10,11 @@
|
| #include "base/macros.h"
|
| #include "net/socket/client_socket_factory.h"
|
|
|
| -namespace net {
|
| -
|
| +namespace base {
|
| class FuzzedDataProvider;
|
| +}
|
| +
|
| +namespace net {
|
|
|
| // A socket factory that creates FuzzedSockets that share the same
|
| // FuzzedDataProvider. To behave consistently, the read operations on all
|
| @@ -30,7 +32,7 @@ class FuzzedSocketFactory : public ClientSocketFactory {
|
| // creates. Other objects can also continue to consume |data_provider|, as
|
| // long as their calls into it are made on the CLientSocketFactory's thread
|
| // and the calls are deterministic.
|
| - explicit FuzzedSocketFactory(FuzzedDataProvider* data_provider);
|
| + explicit FuzzedSocketFactory(base::FuzzedDataProvider* data_provider);
|
| ~FuzzedSocketFactory() override;
|
|
|
| std::unique_ptr<DatagramClientSocket> CreateDatagramClientSocket(
|
| @@ -54,7 +56,7 @@ class FuzzedSocketFactory : public ClientSocketFactory {
|
| void ClearSSLSessionCache() override;
|
|
|
| private:
|
| - FuzzedDataProvider* data_provider_;
|
| + base::FuzzedDataProvider* data_provider_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(FuzzedSocketFactory);
|
| };
|
|
|