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

Side by Side Diff: net/tools/dns_fuzz_stub/dns_fuzz_stub.cc

Issue 2901103002: Fix closing namespace comments in //net. (Closed)
Patch Set: Rebase. Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdint.h> 5 #include <stdint.h>
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <memory> 9 #include <memory>
10 #include <sstream> 10 #include <sstream>
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 if (!net::DNSDomainFromDot(qname, &qname_dns)) { 196 if (!net::DNSDomainFromDot(qname, &qname_dns)) {
197 LOG(ERROR) << filename << ": DNSDomainFromDot(" << qname << ") failed."; 197 LOG(ERROR) << filename << ": DNSDomainFromDot(" << qname << ") failed.";
198 return false; 198 return false;
199 } 199 }
200 200
201 RunTestCase(id, qname_dns, qtype, resp_buf); 201 RunTestCase(id, qname_dns, qtype, resp_buf);
202 202
203 return true; 203 return true;
204 } 204 }
205 205
206 } 206 } // anonymous namespace
207 207
208 int main(int argc, char** argv) { 208 int main(int argc, char** argv) {
209 int ret = 0; 209 int ret = 0;
210 210
211 for (int i = 1; i < argc; i++) 211 for (int i = 1; i < argc; i++)
212 if (!ReadAndRunTestCase(argv[i])) 212 if (!ReadAndRunTestCase(argv[i]))
213 ret = 2; 213 ret = 2;
214 214
215 // Cluster-Fuzz likes "#EOF" as the last line of output to help distinguish 215 // Cluster-Fuzz likes "#EOF" as the last line of output to help distinguish
216 // successful runs from crashes. 216 // successful runs from crashes.
217 printf("#EOF\n"); 217 printf("#EOF\n");
218 218
219 return ret; 219 return ret;
220 } 220 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698