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

Unified Diff: tools/ipc_fuzzer/mutate/generate.cc

Issue 888163002: Account for the renaming of the dns_prefetch namespace to network_hints. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/mutate/generate.cc
diff --git a/tools/ipc_fuzzer/mutate/generate.cc b/tools/ipc_fuzzer/mutate/generate.cc
index a7bf4ee2d680d1e672275ca927f25bd57b9c8f1f..429f91d668eeaada2d47d2c316b86f349966ee15 100644
--- a/tools/ipc_fuzzer/mutate/generate.cc
+++ b/tools/ipc_fuzzer/mutate/generate.cc
@@ -952,17 +952,6 @@ struct GenerateTraits<content::PageState> {
};
template <>
-struct GenerateTraits<dns_prefetch::LookupRequest> {
- static bool Generate(dns_prefetch::LookupRequest* p, Generator* generator) {
- dns_prefetch::LookupRequest request;
- if (!GenerateParam(&request.hostname_list, generator))
- return false;
- *p = request;
- return true;
- }
-};
-
-template <>
struct GenerateTraits<extensions::URLPatternSet> {
static bool Generate(extensions::URLPatternSet* p, Generator* generator) {
std::set<URLPattern> patterns;
@@ -1144,6 +1133,17 @@ struct GenerateTraits<net::IPEndPoint> {
};
template <>
+struct GenerateTraits<network_hints::LookupRequest> {
+ static bool Generate(network_hints::LookupRequest* p, Generator* generator) {
+ network_hints::LookupRequest request;
+ if (!GenerateParam(&request.hostname_list, generator))
+ return false;
+ *p = request;
+ return true;
+ }
+};
+
+template <>
struct GenerateTraits<gfx::Point> {
static bool Generate(gfx::Point *p, Generator* generator) {
int x;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698