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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. | 54 exemptions.push_back(CldDataProviderMsgStart); // Conditional build. |
55 | 55 |
56 // Sent from browser to renderer. | |
57 exemptions.push_back(WebCacheMsgStart); | |
58 | |
59 #if defined(DISABLE_NACL) | 56 #if defined(DISABLE_NACL) |
60 exemptions.push_back(NaClMsgStart); | 57 exemptions.push_back(NaClMsgStart); |
61 #endif // defined(DISABLE_NACL) | 58 #endif // defined(DISABLE_NACL) |
62 | 59 |
63 #if !defined(OS_ANDROID) | 60 #if !defined(OS_ANDROID) |
64 exemptions.push_back(JavaBridgeMsgStart); | 61 exemptions.push_back(JavaBridgeMsgStart); |
65 exemptions.push_back(MediaPlayerMsgStart); | 62 exemptions.push_back(MediaPlayerMsgStart); |
66 exemptions.push_back(EncryptedMediaMsgStart); | 63 exemptions.push_back(EncryptedMediaMsgStart); |
67 exemptions.push_back(GinJavaBridgeMsgStart); | 64 exemptions.push_back(GinJavaBridgeMsgStart); |
68 exemptions.push_back(AndroidWebViewMsgStart); | 65 exemptions.push_back(AndroidWebViewMsgStart); |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 } | 174 } |
178 | 175 |
179 std::sort(msgtable, msgtable + MSGTABLE_SIZE); | 176 std::sort(msgtable, msgtable + MSGTABLE_SIZE); |
180 | 177 |
181 if (!skip_check && check_msgtable() == false) | 178 if (!skip_check && check_msgtable() == false) |
182 return 1; | 179 return 1; |
183 | 180 |
184 dump_msgtable(show_args, show_ids, show_comma, filter); | 181 dump_msgtable(show_args, show_ids, show_comma, filter); |
185 return 0; | 182 return 0; |
186 } | 183 } |
OLD | NEW |