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 ViewMsgStart, | 14 ViewMsgStart, |
15 InputMsgStart, | 15 InputMsgStart, |
16 PluginMsgStart, | 16 PluginMsgStart, |
17 PluginProcessMsgStart, | 17 PluginProcessMsgStart, |
18 ProfileImportMsgStart, | 18 ProfileImportMsgStart, |
19 TestMsgStart, | 19 TestMsgStart, |
20 DevToolsMsgStart, | 20 DevToolsMsgStart, |
21 WorkerMsgStart, | 21 WorkerMsgStart, |
22 NaClMsgStart, | 22 NaClMsgStart, |
23 UtilityMsgStart, | 23 UtilityMsgStart, |
24 GpuChannelMsgStart, | |
25 GpuMsgStart, | 24 GpuMsgStart, |
26 ServiceMsgStart, | 25 ServiceMsgStart, |
27 PpapiMsgStart, | 26 PpapiMsgStart, |
28 FirefoxImporterUnittestMsgStart, | 27 FirefoxImporterUnittestMsgStart, |
29 FileUtilitiesMsgStart, | 28 FileUtilitiesMsgStart, |
30 MimeRegistryMsgStart, | 29 MimeRegistryMsgStart, |
31 DatabaseMsgStart, | 30 DatabaseMsgStart, |
32 DOMStorageMsgStart, | 31 DOMStorageMsgStart, |
33 IndexedDBMsgStart, | 32 IndexedDBMsgStart, |
34 SpeechRecognitionMsgStart, | 33 SpeechRecognitionMsgStart, |
(...skipping 99 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 |