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> | 5 #include <stddef.h> |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <iostream> | 8 #include <iostream> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 std::vector<int> exemptions; | 44 std::vector<int> exemptions; |
45 | 45 |
46 // Exclude test and other non-browser files from consideration. Do not | 46 // Exclude test and other non-browser files from consideration. Do not |
47 // include message files used inside the actual chrome browser in this list. | 47 // include message files used inside the actual chrome browser in this list. |
48 exemptions.push_back(TestMsgStart); | 48 exemptions.push_back(TestMsgStart); |
49 exemptions.push_back(FirefoxImporterUnittestMsgStart); | 49 exemptions.push_back(FirefoxImporterUnittestMsgStart); |
50 exemptions.push_back(ShellMsgStart); | 50 exemptions.push_back(ShellMsgStart); |
51 exemptions.push_back(LayoutTestMsgStart); | 51 exemptions.push_back(LayoutTestMsgStart); |
52 exemptions.push_back(MetroViewerMsgStart); | 52 exemptions.push_back(MetroViewerMsgStart); |
53 exemptions.push_back(CCMsgStart); // Nothing but param traits. | 53 exemptions.push_back(CCMsgStart); // Nothing but param traits. |
54 exemptions.push_back(CldDataProviderMsgStart); // Conditional build. | |
55 | 54 |
56 #if defined(DISABLE_NACL) | 55 #if defined(DISABLE_NACL) |
57 exemptions.push_back(NaClMsgStart); | 56 exemptions.push_back(NaClMsgStart); |
58 #endif // defined(DISABLE_NACL) | 57 #endif // defined(DISABLE_NACL) |
59 | 58 |
60 #if !defined(OS_ANDROID) | 59 #if !defined(OS_ANDROID) |
61 exemptions.push_back(JavaBridgeMsgStart); | 60 exemptions.push_back(JavaBridgeMsgStart); |
62 exemptions.push_back(MediaPlayerMsgStart); | 61 exemptions.push_back(MediaPlayerMsgStart); |
63 exemptions.push_back(EncryptedMediaMsgStart); | 62 exemptions.push_back(EncryptedMediaMsgStart); |
64 exemptions.push_back(GinJavaBridgeMsgStart); | 63 exemptions.push_back(GinJavaBridgeMsgStart); |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 } | 173 } |
175 | 174 |
176 std::sort(msgtable, msgtable + MSGTABLE_SIZE); | 175 std::sort(msgtable, msgtable + MSGTABLE_SIZE); |
177 | 176 |
178 if (!skip_check && check_msgtable() == false) | 177 if (!skip_check && check_msgtable() == false) |
179 return 1; | 178 return 1; |
180 | 179 |
181 dump_msgtable(show_args, show_ids, show_comma, filter); | 180 dump_msgtable(show_args, show_ids, show_comma, filter); |
182 return 0; | 181 return 0; |
183 } | 182 } |
OLD | NEW |