[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, |
fsamuel | a660ce0 | 2016-02-25 03:56:16 | [diff] [blame] | 24 | GpuChannelMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 25 | GpuMsgStart, |
fsamuel | 9f535e22 | 2016-02-25 17:51:51 | [diff] [blame^] | 26 | MediaMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 27 | ServiceMsgStart, |
| 28 | PpapiMsgStart, |
| 29 | FirefoxImporterUnittestMsgStart, |
| 30 | FileUtilitiesMsgStart, |
| 31 | MimeRegistryMsgStart, |
| 32 | DatabaseMsgStart, |
| 33 | DOMStorageMsgStart, |
| 34 | IndexedDBMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 35 | SpeechRecognitionMsgStart, |
| 36 | PepperMsgStart, |
| 37 | AutofillMsgStart, |
| 38 | SafeBrowsingMsgStart, |
| 39 | P2PMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 40 | ResourceMsgStart, |
| 41 | FileSystemMsgStart, |
| 42 | ChildProcessMsgStart, |
| 43 | ClipboardMsgStart, |
| 44 | BlobMsgStart, |
| 45 | AppCacheMsgStart, |
[email protected] | 13a8782 | 2014-06-27 11:51:20 | [diff] [blame] | 46 | DeviceLightMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 47 | DeviceMotionMsgStart, |
| 48 | DeviceOrientationMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 49 | AudioMsgStart, |
[email protected] | 6e068ea | 2014-02-04 07:05:47 | [diff] [blame] | 50 | MidiMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 51 | ChromeMsgStart, |
| 52 | DragMsgStart, |
| 53 | PrintMsgStart, |
| 54 | SpellCheckMsgStart, |
| 55 | ExtensionMsgStart, |
| 56 | VideoCaptureMsgStart, |
| 57 | QuotaMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 58 | TextInputClientMsgStart, |
| 59 | ChromeUtilityMsgStart, |
| 60 | MediaStreamMsgStart, |
| 61 | ChromeBenchmarkingMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 62 | JavaBridgeMsgStart, |
| 63 | GamepadMsgStart, |
| 64 | ShellMsgStart, |
| 65 | AccessibilityMsgStart, |
[email protected] | 798da05 | 2014-06-17 15:02:38 | [diff] [blame] | 66 | PrefetchMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 67 | PrerenderMsgStart, |
| 68 | ChromotingMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 69 | BrowserPluginMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 70 | AndroidWebViewMsgStart, |
| 71 | MetroViewerMsgStart, |
| 72 | CCMsgStart, |
| 73 | MediaPlayerMsgStart, |
[email protected] | 92fe610 | 2012-12-08 01:55:07 | [diff] [blame] | 74 | TracingMsgStart, |
[email protected] | af08997 | 2013-01-10 04:04:40 | [diff] [blame] | 75 | PeerConnectionTrackerMsgStart, |
[email protected] | 1f371fa | 2013-01-23 00:35:14 | [diff] [blame] | 76 | VisitedLinkMsgStart, |
[email protected] | acd2121c | 2013-03-18 05:54:50 | [diff] [blame] | 77 | AppShimMsgStart, |
[email protected] | fc8638a | 2013-04-18 09:17:02 | [diff] [blame] | 78 | WebRtcLoggingMsgStart, |
[email protected] | 7a06d28 | 2013-05-03 04:39:33 | [diff] [blame] | 79 | TtsMsgStart, |
[email protected] | e83ab82 | 2013-06-11 17:16:22 | [diff] [blame] | 80 | WebSocketMsgStart, |
[email protected] | 01e5975 | 2013-06-18 00:17:35 | [diff] [blame] | 81 | NaClHostMsgStart, |
[email protected] | d322066 | 2013-07-01 21:21:46 | [diff] [blame] | 82 | WebRTCIdentityMsgStart, |
[email protected] | 9dd9015 | 2013-08-02 22:09:13 | [diff] [blame] | 83 | PowerMonitorMsgStart, |
[email protected] | 2b12c32 | 2013-09-19 06:53:56 | [diff] [blame] | 84 | EncryptedMediaMsgStart, |
jsbell | abadb9b | 2015-03-23 21:03:44 | [diff] [blame] | 85 | CacheStorageMsgStart, |
[email protected] | 336e4489 | 2013-09-21 16:12:49 | [diff] [blame] | 86 | ServiceWorkerMsgStart, |
[email protected] | 83fc55e4 | 2013-10-15 10:57:49 | [diff] [blame] | 87 | MessagePortMsgStart, |
[email protected] | 4404288 | 2014-01-09 12:42:45 | [diff] [blame] | 88 | EmbeddedWorkerMsgStart, |
[email protected] | ddbb5334 | 2014-01-06 10:59:47 | [diff] [blame] | 89 | EmbeddedWorkerContextMsgStart, |
[email protected] | 1ea4c49 | 2014-02-15 19:45:17 | [diff] [blame] | 90 | CastMsgStart, |
[email protected] | 3e828c3 | 2014-02-27 14:24:54 | [diff] [blame] | 91 | CdmMsgStart, |
[email protected] | 785d514 | 2014-02-27 20:03:11 | [diff] [blame] | 92 | ScreenOrientationMsgStart, |
[email protected] | 33247a9 | 2014-03-13 10:04:49 | [diff] [blame] | 93 | MediaStreamTrackMetricsHostMsgStart, |
[email protected] | fb820c0 | 2014-03-13 15:07:08 | [diff] [blame] | 94 | ChromeExtensionMsgStart, |
[email protected] | a82265ff7d | 2014-03-18 18:03:05 | [diff] [blame] | 95 | MojoMsgStart, |
[email protected] | 38150097 | 2014-04-04 05:07:49 | [diff] [blame] | 96 | TranslateMsgStart, |
[email protected] | cf78eec | 2014-06-24 15:54:26 | [diff] [blame] | 97 | CldDataProviderMsgStart, |
[email protected] | e1c17416 | 2014-04-08 15:39:31 | [diff] [blame] | 98 | PushMessagingMsgStart, |
[email protected] | e02b600 | 2014-05-06 10:26:43 | [diff] [blame] | 99 | GinJavaBridgeMsgStart, |
[email protected] | ddc6a12 | 2014-06-27 04:52:32 | [diff] [blame] | 100 | ChromeUtilityPrintingMsgStart, |
[email protected] | da9f30a | 2014-06-18 19:39:04 | [diff] [blame] | 101 | AecDumpMsgStart, |
[email protected] | 577662cd | 2014-06-26 06:46:02 | [diff] [blame] | 102 | OzoneGpuMsgStart, |
[email protected] | ddc6a12 | 2014-06-27 04:52:32 | [diff] [blame] | 103 | ChromeUtilityExtensionsMsgStart, |
[email protected] | 4459599e | 2014-07-29 22:40:09 | [diff] [blame] | 104 | PlatformNotificationMsgStart, |
[email protected] | e08e2f50 | 2014-08-22 12:56:50 | [diff] [blame] | 105 | CredentialManagerMsgStart, |
Sadrul Habib Chowdhury | 2f8807f | 2014-08-28 03:50:36 | [diff] [blame] | 106 | PDFMsgStart, |
hanxi | 149b92d | 2014-09-11 21:57:18 | [diff] [blame] | 107 | WebCacheMsgStart, |
mlamouri | efdca9d | 2014-09-16 16:55:40 | [diff] [blame] | 108 | ManifestManagerMsgStart, |
rockot | eb6d47fa | 2014-09-24 20:31:53 | [diff] [blame] | 109 | ExtensionUtilityMsgStart, |
mek | 5741bc8 | 2014-10-02 20:38:22 | [diff] [blame] | 110 | GeofencingMsgStart, |
peter | e0420359 | 2014-10-27 17:57:35 | [diff] [blame] | 111 | LayoutTestMsgStart, |
pmeenan | ec1939d3 | 2015-02-11 17:08:08 | [diff] [blame] | 112 | NetworkHintsMsgStart, |
scheib | 566d082 | 2014-11-26 18:21:19 | [diff] [blame] | 113 | BluetoothMsgStart, |
gunsch | a2d67bde | 2014-12-17 06:49:24 | [diff] [blame] | 114 | CastMediaMsgStart, |
sgurun | d2a43060 | 2015-01-23 20:54:05 | [diff] [blame] | 115 | AwMessagePortMsgStart, |
boliu | bee541f4 | 2015-11-05 00:52:53 | [diff] [blame] | 116 | SyncCompositorMsgStart, |
fsamuel | b0dc17d | 2015-04-21 18:41:39 | [diff] [blame] | 117 | ExtensionsGuestViewMsgStart, |
fsamuel | a04a448 | 2015-02-03 01:29:26 | [diff] [blame] | 118 | GuestViewMsgStart, |
derekjchow | 45e9781 | 2015-04-17 23:52:42 | [diff] [blame] | 119 | // Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast |
| 120 | // internal code. Contact gunsch@ before changing/removing. |
gunsch | d1f9880 | 2015-02-24 01:05:36 | [diff] [blame] | 121 | CastCryptoMsgStart, |
derekjchow | 45e9781 | 2015-04-17 23:52:42 | [diff] [blame] | 122 | CastChannelMsgStart, |
jeremyim | 364ac118 | 2015-03-03 18:49:43 | [diff] [blame] | 123 | DataReductionProxyStart, |
vabr | fc325fa | 2015-04-10 16:24:45 | [diff] [blame] | 124 | ContentSettingsMsgStart, |
benwells | 04ab5b96 | 2015-05-06 08:29:40 | [diff] [blame] | 125 | ChromeAppBannerMsgStart, |
eranm | b795155 | 2015-06-03 08:38:13 | [diff] [blame] | 126 | SafeJsonParserMsgStart, |
erikchen | eece6c3 | 2015-07-07 22:13:11 | [diff] [blame] | 127 | AttachmentBrokerMsgStart, |
avi | 914d82e | 2015-09-14 19:04:12 | [diff] [blame] | 128 | RenderProcessMsgStart, |
csharrison | 9fa62d5 | 2015-09-21 22:05:29 | [diff] [blame] | 129 | PageLoadMetricsMsgStart, |
petrcermak | 29bd405 | 2015-09-24 08:28:48 | [diff] [blame] | 130 | MemoryMsgStart, |
davve | 2536c36 | 2015-12-11 12:05:22 | [diff] [blame] | 131 | MediaSessionMsgStart, |
erikchen | 98daa73 | 2015-09-25 18:30:03 | [diff] [blame] | 132 | IPCTestMsgStart, |
lhchavez | 67d14d42 | 2015-11-05 03:47:56 | [diff] [blame] | 133 | ArcInstanceMsgStart, |
| 134 | ArcInstanceHostMsgStart, |
wychen | e5568734 | 2015-11-13 20:17:03 | [diff] [blame] | 135 | DistillerMsgStart, |
fdoray | 443bd11 | 2015-11-16 20:44:23 | [diff] [blame] | 136 | StartupMetricMsgStart, |
henryhsu | c8b6dbd | 2015-12-15 06:17:05 | [diff] [blame] | 137 | ArcCameraMsgStart, |
kulshin | 4039fd5b | 2015-12-14 23:12:54 | [diff] [blame] | 138 | DWriteFontProxyMsgStart, |
dalecurtis | bb3eaac | 2016-01-27 21:10:25 | [diff] [blame] | 139 | MediaPlayerDelegateMsgStart, |
watk | dee516f | 2016-02-18 02:22:19 | [diff] [blame] | 140 | SurfaceViewManagerMsgStart, |
[email protected] | 336e4489 | 2013-09-21 16:12:49 | [diff] [blame] | 141 | LastIPCMsgStart // Must come last. |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 142 | }; |
| 143 | |
| 144 | #endif // IPC_IPC_MESSAGE_START_H_ |