[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, |
[email protected] | 9b159a5 | 2013-10-03 17:24:55 | [diff] [blame] | 13 | FrameMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 14 | ViewMsgStart, |
[email protected] | c084330e0 | 2013-04-27 01:08:15 | [diff] [blame] | 15 | InputMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 16 | PluginMsgStart, |
[email protected] | 872f3a9 | 2013-05-21 08:16:08 | [diff] [blame] | 17 | PluginProcessMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 18 | ProfileImportMsgStart, |
| 19 | TestMsgStart, |
| 20 | DevToolsMsgStart, |
| 21 | WorkerMsgStart, |
| 22 | NaClMsgStart, |
| 23 | UtilityMsgStart, |
| 24 | GpuMsgStart, |
| 25 | ServiceMsgStart, |
| 26 | PpapiMsgStart, |
| 27 | FirefoxImporterUnittestMsgStart, |
| 28 | FileUtilitiesMsgStart, |
| 29 | MimeRegistryMsgStart, |
| 30 | DatabaseMsgStart, |
| 31 | DOMStorageMsgStart, |
| 32 | IndexedDBMsgStart, |
| 33 | PepperFileMsgStart, |
| 34 | SpeechRecognitionMsgStart, |
| 35 | PepperMsgStart, |
| 36 | AutofillMsgStart, |
| 37 | SafeBrowsingMsgStart, |
| 38 | P2PMsgStart, |
| 39 | SocketStreamMsgStart, |
| 40 | ResourceMsgStart, |
| 41 | FileSystemMsgStart, |
| 42 | ChildProcessMsgStart, |
| 43 | ClipboardMsgStart, |
| 44 | BlobMsgStart, |
| 45 | AppCacheMsgStart, |
| 46 | DeviceMotionMsgStart, |
| 47 | DeviceOrientationMsgStart, |
| 48 | DesktopNotificationMsgStart, |
| 49 | GeolocationMsgStart, |
| 50 | AudioMsgStart, |
[email protected] | 6e068ea | 2014-02-04 07:05:47 | [diff] [blame^] | 51 | MidiMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 52 | ChromeMsgStart, |
| 53 | DragMsgStart, |
| 54 | PrintMsgStart, |
| 55 | SpellCheckMsgStart, |
| 56 | ExtensionMsgStart, |
| 57 | VideoCaptureMsgStart, |
| 58 | QuotaMsgStart, |
[email protected] | 41225fe | 2013-03-29 05:32:02 | [diff] [blame] | 59 | ImageMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 60 | TextInputClientMsgStart, |
| 61 | ChromeUtilityMsgStart, |
| 62 | MediaStreamMsgStart, |
| 63 | ChromeBenchmarkingMsgStart, |
| 64 | IntentsMsgStart, |
| 65 | JavaBridgeMsgStart, |
| 66 | GamepadMsgStart, |
| 67 | ShellMsgStart, |
| 68 | AccessibilityMsgStart, |
| 69 | PrerenderMsgStart, |
| 70 | ChromotingMsgStart, |
| 71 | OldBrowserPluginMsgStart, |
| 72 | BrowserPluginMsgStart, |
| 73 | HyphenatorMsgStart, |
| 74 | AndroidWebViewMsgStart, |
| 75 | MetroViewerMsgStart, |
| 76 | CCMsgStart, |
| 77 | MediaPlayerMsgStart, |
[email protected] | 92fe610 | 2012-12-08 01:55:07 | [diff] [blame] | 78 | TracingMsgStart, |
[email protected] | af08997 | 2013-01-10 04:04:40 | [diff] [blame] | 79 | PeerConnectionTrackerMsgStart, |
[email protected] | 1f371fa | 2013-01-23 00:35:14 | [diff] [blame] | 80 | VisitedLinkMsgStart, |
[email protected] | b6b15bcc | 2013-02-01 05:34:25 | [diff] [blame] | 81 | OneClickSigninMsgStart, |
[email protected] | acd2121c | 2013-03-18 05:54:50 | [diff] [blame] | 82 | AppShimMsgStart, |
[email protected] | 1352ca9 | 2013-04-30 02:30:27 | [diff] [blame] | 83 | ValidationMessageMsgStart, |
[email protected] | fc8638a | 2013-04-18 09:17:02 | [diff] [blame] | 84 | WebRtcLoggingMsgStart, |
[email protected] | 7a06d28 | 2013-05-03 04:39:33 | [diff] [blame] | 85 | TtsMsgStart, |
[email protected] | a70ed8b3 | 2013-05-24 15:16:34 | [diff] [blame] | 86 | MemoryBenchmarkMsgStart, |
[email protected] | e83ab82 | 2013-06-11 17:16:22 | [diff] [blame] | 87 | WebSocketMsgStart, |
[email protected] | 01e5975 | 2013-06-18 00:17:35 | [diff] [blame] | 88 | NaClHostMsgStart, |
[email protected] | d322066 | 2013-07-01 21:21:46 | [diff] [blame] | 89 | WebRTCIdentityMsgStart, |
[email protected] | 686e985e | 2013-07-18 22:04:56 | [diff] [blame] | 90 | LocalDiscoveryMsgStart, |
[email protected] | 9dd9015 | 2013-08-02 22:09:13 | [diff] [blame] | 91 | PowerMonitorMsgStart, |
[email protected] | 2b12c32 | 2013-09-19 06:53:56 | [diff] [blame] | 92 | EncryptedMediaMsgStart, |
[email protected] | 336e4489 | 2013-09-21 16:12:49 | [diff] [blame] | 93 | ServiceWorkerMsgStart, |
[email protected] | 83fc55e4 | 2013-10-15 10:57:49 | [diff] [blame] | 94 | MessagePortMsgStart, |
[email protected] | 4404288 | 2014-01-09 12:42:45 | [diff] [blame] | 95 | EmbeddedWorkerMsgStart, |
[email protected] | ddbb5334 | 2014-01-06 10:59:47 | [diff] [blame] | 96 | EmbeddedWorkerContextMsgStart, |
[email protected] | 336e4489 | 2013-09-21 16:12:49 | [diff] [blame] | 97 | LastIPCMsgStart // Must come last. |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 98 | }; |
| 99 | |
| 100 | #endif // IPC_IPC_MESSAGE_START_H_ |