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

Unified Diff: tools/ipc_fuzzer/fuzzer/fuzzer.cc

Issue 2179693002: Revert of Convert network hints to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « ipc/ipc_message_start.h ('k') | tools/ipc_fuzzer/message_lib/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/fuzzer/fuzzer.cc
diff --git a/tools/ipc_fuzzer/fuzzer/fuzzer.cc b/tools/ipc_fuzzer/fuzzer/fuzzer.cc
index f793bf561959c89253b4388b8e3a54b3f62b0b52..ff57074b382d72b450df5a52f461ea0d4998504e 100644
--- a/tools/ipc_fuzzer/fuzzer/fuzzer.cc
+++ b/tools/ipc_fuzzer/fuzzer/fuzzer.cc
@@ -1492,6 +1492,15 @@
}
};
+template <>
+struct FuzzTraits<network_hints::LookupRequest> {
+ static bool Fuzz(network_hints::LookupRequest* p, Fuzzer* fuzzer) {
+ if (!FuzzParam(&p->hostname_list, fuzzer))
+ return false;
+ return true;
+ }
+};
+
// PP_ traits.
template <>
struct FuzzTraits<PP_Bool> {
« no previous file with comments | « ipc/ipc_message_start.h ('k') | tools/ipc_fuzzer/message_lib/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698