[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef IPC_IPC_MESSAGE_START_H_ |
| 6 | #define IPC_IPC_MESSAGE_START_H_ |
| 7 | |
| 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 |
| 10 | // code to figure out the message class from its ID. |
| 11 | enum IPCMessageStart { |
| 12 | AutomationMsgStart = 0, |
| 13 | ViewMsgStart, |
[email protected] | c084330e0 | 2013-04-27 01:08:15 | [diff] [blame] | 14 | InputMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 15 | PluginMsgStart, |
[email protected] | 872f3a9 | 2013-05-21 08:16:08 | [diff] [blame] | 16 | PluginProcessMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 17 | ProfileImportMsgStart, |
| 18 | TestMsgStart, |
| 19 | DevToolsMsgStart, |
| 20 | WorkerMsgStart, |
| 21 | NaClMsgStart, |
| 22 | UtilityMsgStart, |
| 23 | GpuMsgStart, |
| 24 | ServiceMsgStart, |
| 25 | PpapiMsgStart, |
| 26 | FirefoxImporterUnittestMsgStart, |
| 27 | FileUtilitiesMsgStart, |
| 28 | MimeRegistryMsgStart, |
| 29 | DatabaseMsgStart, |
| 30 | DOMStorageMsgStart, |
| 31 | IndexedDBMsgStart, |
| 32 | PepperFileMsgStart, |
| 33 | SpeechRecognitionMsgStart, |
| 34 | PepperMsgStart, |
| 35 | AutofillMsgStart, |
| 36 | SafeBrowsingMsgStart, |
| 37 | P2PMsgStart, |
| 38 | SocketStreamMsgStart, |
| 39 | ResourceMsgStart, |
| 40 | FileSystemMsgStart, |
| 41 | ChildProcessMsgStart, |
| 42 | ClipboardMsgStart, |
| 43 | BlobMsgStart, |
| 44 | AppCacheMsgStart, |
| 45 | DeviceMotionMsgStart, |
| 46 | DeviceOrientationMsgStart, |
| 47 | DesktopNotificationMsgStart, |
| 48 | GeolocationMsgStart, |
| 49 | AudioMsgStart, |
| 50 | ChromeMsgStart, |
| 51 | DragMsgStart, |
| 52 | PrintMsgStart, |
| 53 | SpellCheckMsgStart, |
| 54 | ExtensionMsgStart, |
| 55 | VideoCaptureMsgStart, |
| 56 | QuotaMsgStart, |
[email protected] | 41225fe | 2013-03-29 05:32:02 | [diff] [blame] | 57 | ImageMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 58 | TextInputClientMsgStart, |
| 59 | ChromeUtilityMsgStart, |
| 60 | MediaStreamMsgStart, |
| 61 | ChromeBenchmarkingMsgStart, |
| 62 | IntentsMsgStart, |
| 63 | JavaBridgeMsgStart, |
| 64 | GamepadMsgStart, |
| 65 | ShellMsgStart, |
| 66 | AccessibilityMsgStart, |
| 67 | PrerenderMsgStart, |
| 68 | ChromotingMsgStart, |
| 69 | OldBrowserPluginMsgStart, |
| 70 | BrowserPluginMsgStart, |
| 71 | HyphenatorMsgStart, |
| 72 | AndroidWebViewMsgStart, |
| 73 | MetroViewerMsgStart, |
| 74 | CCMsgStart, |
| 75 | MediaPlayerMsgStart, |
[email protected] | 92fe610 | 2012-12-08 01:55:07 | [diff] [blame] | 76 | TracingMsgStart, |
[email protected] | af08997 | 2013-01-10 04:04:40 | [diff] [blame] | 77 | PeerConnectionTrackerMsgStart, |
[email protected] | 1f371fa | 2013-01-23 00:35:14 | [diff] [blame] | 78 | VisitedLinkMsgStart, |
[email protected] | b6b15bcc | 2013-02-01 05:34:25 | [diff] [blame] | 79 | OneClickSigninMsgStart, |
[email protected] | acd2121c | 2013-03-18 05:54:50 | [diff] [blame] | 80 | AppShimMsgStart, |
[email protected] | 1352ca9 | 2013-04-30 02:30:27 | [diff] [blame] | 81 | ValidationMessageMsgStart, |
[email protected] | fc8638a | 2013-04-18 09:17:02 | [diff] [blame] | 82 | WebRtcLoggingMsgStart, |
[email protected] | 7a06d28 | 2013-05-03 04:39:33 | [diff] [blame] | 83 | TtsMsgStart, |
[email protected] | a70ed8b3 | 2013-05-24 15:16:34 | [diff] [blame] | 84 | MemoryBenchmarkMsgStart, |
[email protected] | e83ab82 | 2013-06-11 17:16:22 | [diff] [blame^] | 85 | WebSocketMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 86 | LastIPCMsgStart // Must come last. |
| 87 | }; |
| 88 | |
| 89 | #endif // IPC_IPC_MESSAGE_START_H_ |