Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Side by Side Diff: tools/ipc_fuzzer/message_tools/message_list.cc

Issue 2034413003: Delete the non-static CLD data source logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to latest master Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/cld_2/cld_2.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « third_party/cld_2/cld_2.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698