OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_START_H_ | 5 #ifndef IPC_IPC_MESSAGE_START_H_ |
6 #define IPC_IPC_MESSAGE_START_H_ | 6 #define IPC_IPC_MESSAGE_START_H_ |
7 | 7 |
8 // Used by IPC_BEGIN_MESSAGES so that each message class starts from a unique | 8 // Used by IPC_BEGIN_MESSAGES so that each message class starts from a unique |
9 // base. Messages have unique IDs across channels in order for the IPC logging | 9 // base. Messages have unique IDs across channels in order for the IPC logging |
10 // code to figure out the message class from its ID. | 10 // code to figure out the message class from its ID. |
11 enum IPCMessageStart { | 11 enum IPCMessageStart { |
12 AutomationMsgStart = 0, | 12 AutomationMsgStart = 0, |
13 FrameMsgStart, | 13 FrameMsgStart, |
14 PageMsgStart, | 14 PageMsgStart, |
15 ViewMsgStart, | 15 ViewMsgStart, |
16 InputMsgStart, | 16 InputMsgStart, |
17 PluginMsgStart, | |
18 PluginProcessMsgStart, | 17 PluginProcessMsgStart, |
19 ProfileImportMsgStart, | 18 ProfileImportMsgStart, |
20 TestMsgStart, | 19 TestMsgStart, |
21 DevToolsMsgStart, | 20 DevToolsMsgStart, |
22 WorkerMsgStart, | 21 WorkerMsgStart, |
23 NaClMsgStart, | 22 NaClMsgStart, |
24 UtilityMsgStart, | 23 UtilityMsgStart, |
25 GpuChannelMsgStart, | 24 GpuChannelMsgStart, |
26 GpuMsgStart, | 25 GpuMsgStart, |
27 MediaMsgStart, | 26 MediaMsgStart, |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 DistillerMsgStart, | 134 DistillerMsgStart, |
136 StartupMetricMsgStart, | 135 StartupMetricMsgStart, |
137 ArcCameraMsgStart, | 136 ArcCameraMsgStart, |
138 DWriteFontProxyMsgStart, | 137 DWriteFontProxyMsgStart, |
139 MediaPlayerDelegateMsgStart, | 138 MediaPlayerDelegateMsgStart, |
140 SurfaceViewManagerMsgStart, | 139 SurfaceViewManagerMsgStart, |
141 LastIPCMsgStart // Must come last. | 140 LastIPCMsgStart // Must come last. |
142 }; | 141 }; |
143 | 142 |
144 #endif // IPC_IPC_MESSAGE_START_H_ | 143 #endif // IPC_IPC_MESSAGE_START_H_ |
OLD | NEW |