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 ProfileImportMsgStart, | 17 ProfileImportMsgStart, |
18 TestMsgStart, | 18 TestMsgStart, |
19 DevToolsMsgStart, | 19 DevToolsMsgStart, |
20 WorkerMsgStart, | 20 WorkerMsgStart, |
21 NaClMsgStart, | 21 NaClMsgStart, |
22 UtilityMsgStart, | 22 UtilityMsgStart, |
23 GpuChannelMsgStart, | 23 GpuChannelMsgStart, |
24 GpuMsgStart, | |
25 MediaMsgStart, | 24 MediaMsgStart, |
26 ServiceMsgStart, | 25 ServiceMsgStart, |
27 PpapiMsgStart, | 26 PpapiMsgStart, |
28 FirefoxImporterUnittestMsgStart, | 27 FirefoxImporterUnittestMsgStart, |
29 FileUtilitiesMsgStart, | 28 FileUtilitiesMsgStart, |
30 DatabaseMsgStart, | 29 DatabaseMsgStart, |
31 DOMStorageMsgStart, | 30 DOMStorageMsgStart, |
32 SpeechRecognitionMsgStart, | 31 SpeechRecognitionMsgStart, |
33 SafeBrowsingMsgStart, | 32 SafeBrowsingMsgStart, |
34 P2PMsgStart, | 33 P2PMsgStart, |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 ArcCameraMsgStart, | 116 ArcCameraMsgStart, |
118 DWriteFontProxyMsgStart, | 117 DWriteFontProxyMsgStart, |
119 MediaPlayerDelegateMsgStart, | 118 MediaPlayerDelegateMsgStart, |
120 SurfaceViewManagerMsgStart, | 119 SurfaceViewManagerMsgStart, |
121 ExtensionWorkerMsgStart, | 120 ExtensionWorkerMsgStart, |
122 SubresourceFilterMsgStart, | 121 SubresourceFilterMsgStart, |
123 LastIPCMsgStart // Must come last. | 122 LastIPCMsgStart // Must come last. |
124 }; | 123 }; |
125 | 124 |
126 #endif // IPC_IPC_MESSAGE_START_H_ | 125 #endif // IPC_IPC_MESSAGE_START_H_ |
OLD | NEW |