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 PluginProcessMsgStart, | |
18 ProfileImportMsgStart, | 17 ProfileImportMsgStart, |
19 TestMsgStart, | 18 TestMsgStart, |
20 DevToolsMsgStart, | 19 DevToolsMsgStart, |
21 WorkerMsgStart, | 20 WorkerMsgStart, |
22 NaClMsgStart, | 21 NaClMsgStart, |
23 UtilityMsgStart, | 22 UtilityMsgStart, |
24 GpuChannelMsgStart, | 23 GpuChannelMsgStart, |
25 GpuMsgStart, | 24 GpuMsgStart, |
26 MediaMsgStart, | 25 MediaMsgStart, |
27 ServiceMsgStart, | 26 ServiceMsgStart, |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 DistillerMsgStart, | 133 DistillerMsgStart, |
135 StartupMetricMsgStart, | 134 StartupMetricMsgStart, |
136 ArcCameraMsgStart, | 135 ArcCameraMsgStart, |
137 DWriteFontProxyMsgStart, | 136 DWriteFontProxyMsgStart, |
138 MediaPlayerDelegateMsgStart, | 137 MediaPlayerDelegateMsgStart, |
139 SurfaceViewManagerMsgStart, | 138 SurfaceViewManagerMsgStart, |
140 LastIPCMsgStart // Must come last. | 139 LastIPCMsgStart // Must come last. |
141 }; | 140 }; |
142 | 141 |
143 #endif // IPC_IPC_MESSAGE_START_H_ | 142 #endif // IPC_IPC_MESSAGE_START_H_ |
OLD | NEW |