blob: 316e5a9e159d77384238cbba0180783db78e4260 [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.
Tom Sepez08ce1002017-08-03 01:44:33 +090011//
12// You should no longer be adding any new message classes. Instead, use mojo
13// for all new work.
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090014enum IPCMessageStart {
15 AutomationMsgStart = 0,
nasko@chromium.orga36f0012013-10-04 02:24:55 +090016 FrameMsgStart,
lfg079d9b22016-03-05 08:09:07 +090017 PageMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090018 ViewMsgStart,
jamesr@chromium.org1dfc7322013-04-27 10:08:15 +090019 InputMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090020 TestMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090021 WorkerMsgStart,
22 NaClMsgStart,
fsamuel53b24a22016-02-25 12:56:16 +090023 GpuChannelMsgStart,
fsamuel0fd5a1b2016-02-26 02:51:51 +090024 MediaMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090025 PpapiMsgStart,
26 FirefoxImporterUnittestMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090027 DOMStorageMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090028 SpeechRecognitionMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090029 SafeBrowsingMsgStart,
30 P2PMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090031 ResourceMsgStart,
32 FileSystemMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090033 BlobMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090034 AudioMsgStart,
toyoshim@chromium.org2458cfd2014-02-04 16:05:47 +090035 MidiMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090036 ChromeMsgStart,
37 DragMsgStart,
38 PrintMsgStart,
39 SpellCheckMsgStart,
40 ExtensionMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090041 TextInputClientMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090042 JavaBridgeMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090043 ShellMsgStart,
44 AccessibilityMsgStart,
45 PrerenderMsgStart,
46 ChromotingMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090047 BrowserPluginMsgStart,
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090048 AndroidWebViewMsgStart,
49 MetroViewerMsgStart,
50 CCMsgStart,
51 MediaPlayerMsgStart,
jbauman@chromium.orgad201352012-12-08 10:55:07 +090052 TracingMsgStart,
jiayl@chromium.org58426362013-01-10 13:04:40 +090053 PeerConnectionTrackerMsgStart,
jeremya@chromium.orgdca37892013-03-18 14:54:50 +090054 AppShimMsgStart,
grunell@chromium.orgc92462a2013-04-18 18:17:02 +090055 WebRtcLoggingMsgStart,
dmazzoni@chromium.org2d71f6a2013-05-03 13:39:33 +090056 TtsMsgStart,
yael.aharon@intel.com364bea02013-06-18 09:17:35 +090057 NaClHostMsgStart,
qinmin@chromium.orgffe65532013-09-19 15:53:56 +090058 EncryptedMediaMsgStart,
jsbell4f286e92015-03-24 06:03:44 +090059 CacheStorageMsgStart,
alecflett@chromium.org974bc392013-09-22 01:12:49 +090060 ServiceWorkerMsgStart,
kinuko@chromium.org5a92e642014-01-09 21:42:45 +090061 EmbeddedWorkerMsgStart,
hubbe@chromium.org89c6c9d2014-02-16 04:45:17 +090062 CastMsgStart,
joi@chromium.orgb3582652014-03-13 19:04:49 +090063 MediaStreamTrackMetricsHostMsgStart,
derat@chromium.orgc9f81432014-03-14 00:07:08 +090064 ChromeExtensionMsgStart,
mnaganov@chromium.org96486d22014-05-06 19:26:43 +090065 GinJavaBridgeMsgStart,
thestig@chromium.orga99794c2014-06-27 13:52:32 +090066 ChromeUtilityPrintingMsgStart,
grunell@chromium.orgaa19c592014-06-19 04:39:04 +090067 AecDumpMsgStart,
spang@chromium.org74352062014-06-26 15:46:02 +090068 OzoneGpuMsgStart,
peter@chromium.orgb584db02014-07-30 07:40:09 +090069 PlatformNotificationMsgStart,
peter5e822862014-10-28 02:57:35 +090070 LayoutTestMsgStart,
tibell12f18222016-07-25 10:00:43 +090071 NetworkHintsMsgStart,
gunsch09320132014-12-17 15:49:24 +090072 CastMediaMsgStart,
boliu22ab2382015-11-05 09:52:53 +090073 SyncCompositorMsgStart,
fsamuel54748e12015-04-22 03:41:39 +090074 ExtensionsGuestViewMsgStart,
fsamuel7b7fcd22015-02-03 10:29:26 +090075 GuestViewMsgStart,
derekjchow75e0f672015-04-18 08:52:42 +090076 // Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast
77 // internal code. Contact gunsch@ before changing/removing.
gunsch21ca5c02015-02-24 10:05:36 +090078 CastCryptoMsgStart,
derekjchow75e0f672015-04-18 08:52:42 +090079 CastChannelMsgStart,
erikchenf29dc682015-09-26 03:30:03 +090080 IPCTestMsgStart,
kulshin11e05e62015-12-15 08:12:54 +090081 DWriteFontProxyMsgStart,
dalecurtis5dd55fc2016-01-28 06:10:25 +090082 MediaPlayerDelegateMsgStart,
watkdfc45632016-02-18 11:22:19 +090083 SurfaceViewManagerMsgStart,
lazyboy0125b762016-05-24 09:55:16 +090084 ExtensionWorkerMsgStart,
engedy93728d92016-06-08 22:31:18 +090085 SubresourceFilterMsgStart,
alecflett@chromium.org974bc392013-09-22 01:12:49 +090086 LastIPCMsgStart // Must come last.
tsepez@chromium.org4afe8f72012-10-24 08:03:35 +090087};
88
89#endif // IPC_IPC_MESSAGE_START_H_