OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <algorithm> | 5 #include <algorithm> |
6 #include <iostream> | 6 #include <ostream> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 // Include once to get the type definitions | 10 // Include once to get the type definitions |
11 #include "chrome/tools/ipclist/all_messages.h" | 11 #include "chrome/tools/ipclist/all_messages.h" |
12 | 12 |
13 struct msginfo { | 13 struct msginfo { |
14 const char* name; | 14 const char* name; |
15 int id; | 15 int id; |
16 int in_count; | 16 int in_count; |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 | 132 |
133 std::sort(msgtable, msgtable + MSGTABLE_SIZE); | 133 std::sort(msgtable, msgtable + MSGTABLE_SIZE); |
134 | 134 |
135 if (!skip_check && check_msgtable() == false) | 135 if (!skip_check && check_msgtable() == false) |
136 return 1; | 136 return 1; |
137 | 137 |
138 dump_msgtable(show_args, show_ids, show_comma, filter); | 138 dump_msgtable(show_args, show_ids, show_comma, filter); |
139 return 0; | 139 return 0; |
140 } | 140 } |
141 | 141 |
OLD | NEW |