| 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 ViewMsgStart, | 14 ViewMsgStart, |
| 14 InputMsgStart, | 15 InputMsgStart, |
| 15 PluginMsgStart, | 16 PluginMsgStart, |
| 16 PluginProcessMsgStart, | 17 PluginProcessMsgStart, |
| 17 ProfileImportMsgStart, | 18 ProfileImportMsgStart, |
| 18 TestMsgStart, | 19 TestMsgStart, |
| 19 DevToolsMsgStart, | 20 DevToolsMsgStart, |
| 20 WorkerMsgStart, | 21 WorkerMsgStart, |
| 21 NaClMsgStart, | 22 NaClMsgStart, |
| 22 UtilityMsgStart, | 23 UtilityMsgStart, |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 MemoryBenchmarkMsgStart, | 86 MemoryBenchmarkMsgStart, |
| 86 WebSocketMsgStart, | 87 WebSocketMsgStart, |
| 87 NaClHostMsgStart, | 88 NaClHostMsgStart, |
| 88 WebRTCIdentityMsgStart, | 89 WebRTCIdentityMsgStart, |
| 89 LocalDiscoveryMsgStart, | 90 LocalDiscoveryMsgStart, |
| 90 PowerMonitorMsgStart, | 91 PowerMonitorMsgStart, |
| 91 LastIPCMsgStart // Must come last. | 92 LastIPCMsgStart // Must come last. |
| 92 }; | 93 }; |
| 93 | 94 |
| 94 #endif // IPC_IPC_MESSAGE_START_H_ | 95 #endif // IPC_IPC_MESSAGE_START_H_ |
| OLD | NEW |