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

Side by Side Diff: tools/ipc_fuzzer/ipclist/ipclist.cc

Issue 677673002: Move LayoutTestMessageFilter-related IPCs to their own message file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@n-land-cs-show
Patch Set: try including ipc_message_macros.h Created 6 years, 1 month 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 | « ipc/ipc_message_start.h ('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 <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
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
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
OLDNEW
« no previous file with comments | « ipc/ipc_message_start.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698