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

Side by Side Diff: ipc/ipc_message_utils.h

Issue 153002: NaCl-Chrome integration - step 1 (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/plugins/plugin_lib.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 #ifndef IPC_IPC_MESSAGE_UTILS_H_ 5 #ifndef IPC_IPC_MESSAGE_UTILS_H_
6 #define IPC_IPC_MESSAGE_UTILS_H_ 6 #define IPC_IPC_MESSAGE_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include <map> 10 #include <map>
(...skipping 26 matching lines...) Expand all
37 PluginMsgStart, 37 PluginMsgStart,
38 PluginHostMsgStart, 38 PluginHostMsgStart,
39 NPObjectMsgStart, 39 NPObjectMsgStart,
40 TestMsgStart, 40 TestMsgStart,
41 DevToolsAgentMsgStart, 41 DevToolsAgentMsgStart,
42 DevToolsClientMsgStart, 42 DevToolsClientMsgStart,
43 WorkerProcessMsgStart, 43 WorkerProcessMsgStart,
44 WorkerProcessHostMsgStart, 44 WorkerProcessHostMsgStart,
45 WorkerMsgStart, 45 WorkerMsgStart,
46 WorkerHostMsgStart, 46 WorkerHostMsgStart,
47 NaClProcessMsgStart,
47 // NOTE: When you add a new message class, also update 48 // NOTE: When you add a new message class, also update
48 // IPCStatusView::IPCStatusView to ensure logging works. 49 // IPCStatusView::IPCStatusView to ensure logging works.
49 // NOTE: this enum is used by IPC_MESSAGE_MACRO to generate a unique message 50 // NOTE: this enum is used by IPC_MESSAGE_MACRO to generate a unique message
50 // id. Only 4 bits are used for the message type, so if this enum needs more 51 // id. Only 4 bits are used for the message type, so if this enum needs more
51 // than 16 entries, that code needs to be updated. 52 // than 16 entries, that code needs to be updated.
52 LastMsgIndex 53 LastMsgIndex
53 }; 54 };
54 55
55 COMPILE_ASSERT(LastMsgIndex <= 16, need_to_update_IPC_MESSAGE_MACRO); 56 COMPILE_ASSERT(LastMsgIndex <= 16, need_to_update_IPC_MESSAGE_MACRO);
56 57
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 ReplyParam p(a, b, c, d, e); 1261 ReplyParam p(a, b, c, d, e);
1261 WriteParam(reply, p); 1262 WriteParam(reply, p);
1262 } 1263 }
1263 }; 1264 };
1264 1265
1265 //----------------------------------------------------------------------------- 1266 //-----------------------------------------------------------------------------
1266 1267
1267 } // namespace IPC 1268 } // namespace IPC
1268 1269
1269 #endif // IPC_IPC_MESSAGE_UTILS_H_ 1270 #endif // IPC_IPC_MESSAGE_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/plugins/plugin_lib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698