blob: 6ceb4dcd9d48dbf880539819689de90ef8a2afc7 [file] [log] [blame]
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +09001// 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.
11enum IPCMessageStart {
12 AutomationMsgStart = 0,
nasko@chromium.orga36f0012013-10-04 02:24:55 +090013 FrameMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090014 ViewMsgStart,
jamesr@chromium.org1dfc7322013-04-27 10:08:15 +090015 InputMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090016 PluginMsgStart,
jamesr@chromium.org58d55fd2013-05-21 17:16:08 +090017 PluginProcessMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090018 ProfileImportMsgStart,
19 TestMsgStart,
20 DevToolsMsgStart,
21 WorkerMsgStart,
22 NaClMsgStart,
23 UtilityMsgStart,
fsamuel53b24a22016-02-25 12:56:16 +090024 GpuChannelMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090025 GpuMsgStart,
fsamuel0fd5a1b2016-02-26 02:51:51 +090026 MediaMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090027 ServiceMsgStart,
28 PpapiMsgStart,
29 FirefoxImporterUnittestMsgStart,
30 FileUtilitiesMsgStart,
31 MimeRegistryMsgStart,
32 DatabaseMsgStart,
33 DOMStorageMsgStart,
34 IndexedDBMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090035 SpeechRecognitionMsgStart,
36 PepperMsgStart,
37 AutofillMsgStart,
38 SafeBrowsingMsgStart,
39 P2PMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090040 ResourceMsgStart,
41 FileSystemMsgStart,
42 ChildProcessMsgStart,
43 ClipboardMsgStart,
44 BlobMsgStart,
45 AppCacheMsgStart,
rijubrata.bhaumik@intel.come5fd8362014-06-27 20:51:20 +090046 DeviceLightMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090047 DeviceMotionMsgStart,
48 DeviceOrientationMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090049 AudioMsgStart,
toyoshim@chromium.org2458cfd2014-02-04 16:05:47 +090050 MidiMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090051 ChromeMsgStart,
52 DragMsgStart,
53 PrintMsgStart,
54 SpellCheckMsgStart,
55 ExtensionMsgStart,
56 VideoCaptureMsgStart,
57 QuotaMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090058 TextInputClientMsgStart,
59 ChromeUtilityMsgStart,
60 MediaStreamMsgStart,
61 ChromeBenchmarkingMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090062 JavaBridgeMsgStart,
63 GamepadMsgStart,
64 ShellMsgStart,
65 AccessibilityMsgStart,
tburkard@chromium.org18afbe12014-06-18 00:02:38 +090066 PrefetchMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090067 PrerenderMsgStart,
68 ChromotingMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090069 BrowserPluginMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090070 AndroidWebViewMsgStart,
71 MetroViewerMsgStart,
72 CCMsgStart,
73 MediaPlayerMsgStart,
jbauman@chromium.orgad201352012-12-08 10:55:07 +090074 TracingMsgStart,
jiayl@chromium.org58426362013-01-10 13:04:40 +090075 PeerConnectionTrackerMsgStart,
boliu@chromium.org1d8e7682013-01-23 09:35:14 +090076 VisitedLinkMsgStart,
jeremya@chromium.orgdca37892013-03-18 14:54:50 +090077 AppShimMsgStart,
grunell@chromium.orgc92462a2013-04-18 18:17:02 +090078 WebRtcLoggingMsgStart,
dmazzoni@chromium.org2d71f6a2013-05-03 13:39:33 +090079 TtsMsgStart,
ricea@chromium.orgf3c9df22013-06-12 02:16:22 +090080 WebSocketMsgStart,
yael.aharon@intel.com364bea02013-06-18 09:17:35 +090081 NaClHostMsgStart,
jiayl@chromium.orgf487caf2013-07-02 06:21:46 +090082 WebRTCIdentityMsgStart,
bajones@chromium.org4bf25cc2013-08-03 07:09:13 +090083 PowerMonitorMsgStart,
qinmin@chromium.orgffe65532013-09-19 15:53:56 +090084 EncryptedMediaMsgStart,
jsbell4f286e92015-03-24 06:03:44 +090085 CacheStorageMsgStart,
alecflett@chromium.org974bc392013-09-22 01:12:49 +090086 ServiceWorkerMsgStart,
marja@chromium.orga4da28f2013-10-15 19:57:49 +090087 MessagePortMsgStart,
kinuko@chromium.org5a92e642014-01-09 21:42:45 +090088 EmbeddedWorkerMsgStart,
kinuko@chromium.org6c50cae2014-01-06 19:59:47 +090089 EmbeddedWorkerContextMsgStart,
hubbe@chromium.org89c6c9d2014-02-16 04:45:17 +090090 CastMsgStart,
xhwang@chromium.org67296562014-02-27 23:24:54 +090091 CdmMsgStart,
mlamouri@chromium.org7c1284c2014-02-28 05:03:11 +090092 ScreenOrientationMsgStart,
joi@chromium.orgb3582652014-03-13 19:04:49 +090093 MediaStreamTrackMetricsHostMsgStart,
derat@chromium.orgc9f81432014-03-14 00:07:08 +090094 ChromeExtensionMsgStart,
sky@chromium.orgff9ba822014-03-19 03:03:05 +090095 MojoMsgStart,
droger@chromium.orga1243742014-04-04 14:07:49 +090096 TranslateMsgStart,
andrewhayden@chromium.orga2c89472014-06-25 00:54:26 +090097 CldDataProviderMsgStart,
mvanouwerkerk@chromium.org679eceb2014-04-09 00:39:31 +090098 PushMessagingMsgStart,
mnaganov@chromium.org96486d22014-05-06 19:26:43 +090099 GinJavaBridgeMsgStart,
thestig@chromium.orga99794c2014-06-27 13:52:32 +0900100 ChromeUtilityPrintingMsgStart,
grunell@chromium.orgaa19c592014-06-19 04:39:04 +0900101 AecDumpMsgStart,
spang@chromium.org74352062014-06-26 15:46:02 +0900102 OzoneGpuMsgStart,
thestig@chromium.orga99794c2014-06-27 13:52:32 +0900103 ChromeUtilityExtensionsMsgStart,
peter@chromium.orgb584db02014-07-30 07:40:09 +0900104 PlatformNotificationMsgStart,
mkwst@chromium.org450fad92014-08-22 21:56:50 +0900105 CredentialManagerMsgStart,
Sadrul Habib Chowdhuryf830bdd2014-08-28 12:50:36 +0900106 PDFMsgStart,
hanxi51bd24f2014-09-12 06:57:18 +0900107 WebCacheMsgStart,
mlamouriee1523b2014-09-17 01:55:40 +0900108 ManifestManagerMsgStart,
rockot38931c22014-09-25 05:31:53 +0900109 ExtensionUtilityMsgStart,
mek80f4e372014-10-03 05:38:22 +0900110 GeofencingMsgStart,
peter5e822862014-10-28 02:57:35 +0900111 LayoutTestMsgStart,
pmeenan1216def2015-02-12 02:08:08 +0900112 NetworkHintsMsgStart,
scheib52be5892014-11-27 03:21:19 +0900113 BluetoothMsgStart,
gunsch09320132014-12-17 15:49:24 +0900114 CastMediaMsgStart,
sgurun84c6ef52015-01-24 05:54:05 +0900115 AwMessagePortMsgStart,
boliu22ab2382015-11-05 09:52:53 +0900116 SyncCompositorMsgStart,
fsamuel54748e12015-04-22 03:41:39 +0900117 ExtensionsGuestViewMsgStart,
fsamuel7b7fcd22015-02-03 10:29:26 +0900118 GuestViewMsgStart,
derekjchow75e0f672015-04-18 08:52:42 +0900119 // Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast
120 // internal code. Contact gunsch@ before changing/removing.
gunsch21ca5c02015-02-24 10:05:36 +0900121 CastCryptoMsgStart,
derekjchow75e0f672015-04-18 08:52:42 +0900122 CastChannelMsgStart,
jeremyim1664d4a2015-03-04 03:49:43 +0900123 DataReductionProxyStart,
vabr1520fa12015-04-11 01:24:45 +0900124 ContentSettingsMsgStart,
benwellsb5bd86a2015-05-06 17:29:40 +0900125 ChromeAppBannerMsgStart,
eranm1f007c22015-06-03 17:38:13 +0900126 SafeJsonParserMsgStart,
erikchenfdd43fe2015-07-08 07:13:11 +0900127 AttachmentBrokerMsgStart,
avi879c0462015-09-15 04:04:12 +0900128 RenderProcessMsgStart,
csharrison0b415232015-09-22 07:05:29 +0900129 PageLoadMetricsMsgStart,
petrcermak5af4d872015-09-24 17:28:48 +0900130 MemoryMsgStart,
davve40f6f882015-12-11 21:05:22 +0900131 MediaSessionMsgStart,
erikchenf29dc682015-09-26 03:30:03 +0900132 IPCTestMsgStart,
lhchaveze415a7b2015-11-05 12:47:56 +0900133 ArcInstanceMsgStart,
134 ArcInstanceHostMsgStart,
wychen4cdcc1b2015-11-14 05:17:03 +0900135 DistillerMsgStart,
fdoray394c43c2015-11-17 05:44:23 +0900136 StartupMetricMsgStart,
henryhsu53ecf302015-12-15 15:17:05 +0900137 ArcCameraMsgStart,
kulshin11e05e62015-12-15 08:12:54 +0900138 DWriteFontProxyMsgStart,
dalecurtis5dd55fc2016-01-28 06:10:25 +0900139 MediaPlayerDelegateMsgStart,
watkdfc45632016-02-18 11:22:19 +0900140 SurfaceViewManagerMsgStart,
alecflett@chromium.org974bc392013-09-22 01:12:49 +0900141 LastIPCMsgStart // Must come last.
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +0900142};
143
144#endif // IPC_IPC_MESSAGE_START_H_