Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Unified Diff: net/udp/fuzzed_datagram_client_socket.cc

Issue 2250263003: Move FuzzedDataProvider to //base and expose to blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comment explaining byte ranges + var name in header Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/udp/fuzzed_datagram_client_socket.cc
diff --git a/net/udp/fuzzed_datagram_client_socket.cc b/net/udp/fuzzed_datagram_client_socket.cc
index ac18cf41b853cd014587c4d0ef4a092163d843aa..d9122d16c6a877a2666c6e2db76ba866cd3d6bde 100644
--- a/net/udp/fuzzed_datagram_client_socket.cc
+++ b/net/udp/fuzzed_datagram_client_socket.cc
@@ -7,11 +7,11 @@
#include <algorithm>
#include "base/bind.h"
+#include "base/fuzzed_data_provider.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/strings/string_piece.h"
#include "base/threading/thread_task_runner_handle.h"
-#include "net/base/fuzzed_data_provider.h"
#include "net/base/io_buffer.h"
#include "net/base/ip_address.h"
#include "net/base/net_errors.h"
@@ -27,7 +27,7 @@ const Error kWriteErrors[] = {ERR_FAILED, ERR_ADDRESS_UNREACHABLE,
ERR_MSG_TOO_BIG};
FuzzedDatagramClientSocket::FuzzedDatagramClientSocket(
- FuzzedDataProvider* data_provider)
+ base::FuzzedDataProvider* data_provider)
: data_provider_(data_provider), weak_factory_(this) {}
FuzzedDatagramClientSocket::~FuzzedDatagramClientSocket() {}

Powered by Google App Engine
This is Rietveld 408576698