[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, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 33 | SpeechRecognitionMsgStart, |
| 34 | PepperMsgStart, |
| 35 | AutofillMsgStart, |
| 36 | SafeBrowsingMsgStart, |
| 37 | P2PMsgStart, |
| 38 | SocketStreamMsgStart, |
| 39 | ResourceMsgStart, |
| 40 | FileSystemMsgStart, |
| 41 | ChildProcessMsgStart, |
| 42 | ClipboardMsgStart, |
| 43 | BlobMsgStart, |
| 44 | AppCacheMsgStart, |
[email protected] | 13a8782 | 2014-06-27 11:51:20 | [diff] [blame] | 45 | DeviceLightMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 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, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 64 | JavaBridgeMsgStart, |
| 65 | GamepadMsgStart, |
| 66 | ShellMsgStart, |
| 67 | AccessibilityMsgStart, |
[email protected] | 798da05 | 2014-06-17 15:02:38 | [diff] [blame] | 68 | PrefetchMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 69 | PrerenderMsgStart, |
| 70 | ChromotingMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 71 | BrowserPluginMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 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] | acd2121c | 2013-03-18 05:54:50 | [diff] [blame] | 79 | AppShimMsgStart, |
[email protected] | fc8638a | 2013-04-18 09:17:02 | [diff] [blame] | 80 | WebRtcLoggingMsgStart, |
[email protected] | 7a06d28 | 2013-05-03 04:39:33 | [diff] [blame] | 81 | TtsMsgStart, |
[email protected] | a70ed8b3 | 2013-05-24 15:16:34 | [diff] [blame] | 82 | MemoryBenchmarkMsgStart, |
[email protected] | e83ab82 | 2013-06-11 17:16:22 | [diff] [blame] | 83 | WebSocketMsgStart, |
[email protected] | 01e5975 | 2013-06-18 00:17:35 | [diff] [blame] | 84 | NaClHostMsgStart, |
[email protected] | d322066 | 2013-07-01 21:21:46 | [diff] [blame] | 85 | WebRTCIdentityMsgStart, |
[email protected] | 686e985e | 2013-07-18 22:04:56 | [diff] [blame] | 86 | LocalDiscoveryMsgStart, |
[email protected] | 9dd9015 | 2013-08-02 22:09:13 | [diff] [blame] | 87 | PowerMonitorMsgStart, |
[email protected] | 2b12c32 | 2013-09-19 06:53:56 | [diff] [blame] | 88 | EncryptedMediaMsgStart, |
[email protected] | 336e4489 | 2013-09-21 16:12:49 | [diff] [blame] | 89 | ServiceWorkerMsgStart, |
[email protected] | 83fc55e4 | 2013-10-15 10:57:49 | [diff] [blame] | 90 | MessagePortMsgStart, |
[email protected] | 4404288 | 2014-01-09 12:42:45 | [diff] [blame] | 91 | EmbeddedWorkerMsgStart, |
[email protected] | ddbb5334 | 2014-01-06 10:59:47 | [diff] [blame] | 92 | EmbeddedWorkerContextMsgStart, |
[email protected] | 1ea4c49 | 2014-02-15 19:45:17 | [diff] [blame] | 93 | CastMsgStart, |
[email protected] | 3e828c3 | 2014-02-27 14:24:54 | [diff] [blame] | 94 | CdmMsgStart, |
[email protected] | 785d514 | 2014-02-27 20:03:11 | [diff] [blame] | 95 | ScreenOrientationMsgStart, |
[email protected] | 33247a9 | 2014-03-13 10:04:49 | [diff] [blame] | 96 | MediaStreamTrackMetricsHostMsgStart, |
[email protected] | fb820c0 | 2014-03-13 15:07:08 | [diff] [blame] | 97 | ChromeExtensionMsgStart, |
[email protected] | a82265ff7d | 2014-03-18 18:03:05 | [diff] [blame] | 98 | MojoMsgStart, |
[email protected] | 38150097 | 2014-04-04 05:07:49 | [diff] [blame] | 99 | TranslateMsgStart, |
[email protected] | cf78eec | 2014-06-24 15:54:26 | [diff] [blame] | 100 | CldDataProviderMsgStart, |
[email protected] | e1c17416 | 2014-04-08 15:39:31 | [diff] [blame] | 101 | PushMessagingMsgStart, |
[email protected] | e02b600 | 2014-05-06 10:26:43 | [diff] [blame] | 102 | GinJavaBridgeMsgStart, |
[email protected] | 5981d401 | 2014-05-14 23:40:59 | [diff] [blame] | 103 | BatteryStatusMsgStart, |
[email protected] | ddc6a12 | 2014-06-27 04:52:32 | [diff] [blame] | 104 | ChromeUtilityPrintingMsgStart, |
[email protected] | da9f30a | 2014-06-18 19:39:04 | [diff] [blame] | 105 | AecDumpMsgStart, |
[email protected] | 577662cd | 2014-06-26 06:46:02 | [diff] [blame] | 106 | OzoneGpuMsgStart, |
[email protected] | ddc6a12 | 2014-06-27 04:52:32 | [diff] [blame] | 107 | ChromeUtilityExtensionsMsgStart, |
[email protected] | 4459599e | 2014-07-29 22:40:09 | [diff] [blame] | 108 | PlatformNotificationMsgStart, |
[email protected] | e08e2f50 | 2014-08-22 12:56:50 | [diff] [blame] | 109 | CredentialManagerMsgStart, |
Sadrul Habib Chowdhury | 2f8807f | 2014-08-28 03:50:36 | [diff] [blame] | 110 | PDFMsgStart, |
hanxi | 149b92d | 2014-09-11 21:57:18 | [diff] [blame] | 111 | WebCacheMsgStart, |
mlamouri | efdca9d | 2014-09-16 16:55:40 | [diff] [blame^] | 112 | ManifestManagerMsgStart, |
[email protected] | 336e4489 | 2013-09-21 16:12:49 | [diff] [blame] | 113 | LastIPCMsgStart // Must come last. |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 114 | }; |
| 115 | |
| 116 | #endif // IPC_IPC_MESSAGE_START_H_ |