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

Side by Side Diff: tools/ipc_fuzzer/message_tools/message_util.cc

Issue 1544433002: Replace RE2 import with a dependency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-Added LICENSE and OWNERS file Created 4 years, 12 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
« no previous file with comments | « third_party/re2/util/valgrind.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <limits.h> 5 #include <limits.h>
6 #include <stdlib.h> 6 #include <stdlib.h>
7 #include <iostream> 7 #include <iostream>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/strings/string_split.h" 12 #include "base/strings/string_split.h"
13 #include "third_party/re2/re2/re2.h" 13 #include "third_party/re2/src/re2/re2.h"
14 #include "tools/ipc_fuzzer/message_lib/message_file.h" 14 #include "tools/ipc_fuzzer/message_lib/message_file.h"
15 #include "tools/ipc_fuzzer/message_lib/message_names.h" 15 #include "tools/ipc_fuzzer/message_lib/message_names.h"
16 16
17 namespace { 17 namespace {
18 18
19 const char kDumpSwitch[] = "dump"; 19 const char kDumpSwitch[] = "dump";
20 const char kDumpSwitchHelp[] = 20 const char kDumpSwitchHelp[] =
21 "dump human-readable form to stdout instead of copying."; 21 "dump human-readable form to stdout instead of copying.";
22 22
23 const char kEndSwitch[] = "end"; 23 const char kEndSwitch[] = "end";
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 } 169 }
170 } else { 170 } else {
171 if (!ipc_fuzzer::MessageFile::Write( 171 if (!ipc_fuzzer::MessageFile::Write(
172 base::FilePath(output_file_name), output_message_vector)) { 172 base::FilePath(output_file_name), output_message_vector)) {
173 return EXIT_FAILURE; 173 return EXIT_FAILURE;
174 } 174 }
175 } 175 }
176 176
177 return EXIT_SUCCESS; 177 return EXIT_SUCCESS;
178 } 178 }
OLDNEW
« no previous file with comments | « third_party/re2/util/valgrind.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698