OLD | NEW |
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 <stddef.h> |
| 6 |
5 #include <algorithm> | 7 #include <algorithm> |
6 #include <iostream> | 8 #include <iostream> |
7 #include <string> | 9 #include <string> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/basictypes.h" | 12 #include "build/build_config.h" |
11 | 13 |
12 // Include once to get the type definitions | 14 // Include once to get the type definitions |
13 #include "tools/ipc_fuzzer/message_lib/all_messages.h" | 15 #include "tools/ipc_fuzzer/message_lib/all_messages.h" |
14 | 16 |
15 struct msginfo { | 17 struct msginfo { |
16 const char* name; | 18 const char* name; |
17 const char* file; | 19 const char* file; |
18 int id; | 20 int id; |
19 int in_count; | 21 int in_count; |
20 int out_count; | 22 int out_count; |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 | 186 |
185 std::sort(msgtable, msgtable + MSGTABLE_SIZE); | 187 std::sort(msgtable, msgtable + MSGTABLE_SIZE); |
186 | 188 |
187 if (!skip_check && check_msgtable() == false) | 189 if (!skip_check && check_msgtable() == false) |
188 return 1; | 190 return 1; |
189 | 191 |
190 dump_msgtable(show_args, show_ids, show_comma, filter); | 192 dump_msgtable(show_args, show_ids, show_comma, filter); |
191 return 0; | 193 return 0; |
192 } | 194 } |
193 | 195 |
OLD | NEW |