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