blob: a5fad5ef4cce4c45365fb70408754b001fabcbde [file] [log] [blame]
[email protected]f9509812012-10-23 23:03:351// 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 Sepeza1e8cdef2017-08-02 16:44:3311//
12// You should no longer be adding any new message classes. Instead, use mojo
13// for all new work.
[email protected]f9509812012-10-23 23:03:3514enum IPCMessageStart {
15 AutomationMsgStart = 0,
[email protected]9b159a52013-10-03 17:24:5516 FrameMsgStart,
lfgdb5c4ed2016-03-04 23:09:0717 PageMsgStart,
[email protected]f9509812012-10-23 23:03:3518 ViewMsgStart,
[email protected]c084330e02013-04-27 01:08:1519 InputMsgStart,
[email protected]f9509812012-10-23 23:03:3520 TestMsgStart,
[email protected]f9509812012-10-23 23:03:3521 WorkerMsgStart,
22 NaClMsgStart,
fsamuela660ce02016-02-25 03:56:1623 GpuChannelMsgStart,
fsamuel9f535e222016-02-25 17:51:5124 MediaMsgStart,
[email protected]f9509812012-10-23 23:03:3525 PpapiMsgStart,
26 FirefoxImporterUnittestMsgStart,
[email protected]f9509812012-10-23 23:03:3527 DOMStorageMsgStart,
[email protected]f9509812012-10-23 23:03:3528 SpeechRecognitionMsgStart,
[email protected]f9509812012-10-23 23:03:3529 SafeBrowsingMsgStart,
30 P2PMsgStart,
[email protected]f9509812012-10-23 23:03:3531 ResourceMsgStart,
32 FileSystemMsgStart,
[email protected]f9509812012-10-23 23:03:3533 BlobMsgStart,
[email protected]f9509812012-10-23 23:03:3534 AudioMsgStart,
[email protected]6e068ea2014-02-04 07:05:4735 MidiMsgStart,
[email protected]f9509812012-10-23 23:03:3536 ChromeMsgStart,
37 DragMsgStart,
38 PrintMsgStart,
39 SpellCheckMsgStart,
40 ExtensionMsgStart,
[email protected]f9509812012-10-23 23:03:3541 TextInputClientMsgStart,
[email protected]f9509812012-10-23 23:03:3542 JavaBridgeMsgStart,
[email protected]f9509812012-10-23 23:03:3543 ShellMsgStart,
44 AccessibilityMsgStart,
45 PrerenderMsgStart,
46 ChromotingMsgStart,
[email protected]f9509812012-10-23 23:03:3547 BrowserPluginMsgStart,
[email protected]f9509812012-10-23 23:03:3548 AndroidWebViewMsgStart,
49 MetroViewerMsgStart,
50 CCMsgStart,
51 MediaPlayerMsgStart,
[email protected]92fe6102012-12-08 01:55:0752 TracingMsgStart,
[email protected]af089972013-01-10 04:04:4053 PeerConnectionTrackerMsgStart,
[email protected]acd2121c2013-03-18 05:54:5054 AppShimMsgStart,
[email protected]fc8638a2013-04-18 09:17:0255 WebRtcLoggingMsgStart,
[email protected]7a06d282013-05-03 04:39:3356 TtsMsgStart,
[email protected]01e59752013-06-18 00:17:3557 NaClHostMsgStart,
[email protected]2b12c322013-09-19 06:53:5658 EncryptedMediaMsgStart,
jsbellabadb9b2015-03-23 21:03:4459 CacheStorageMsgStart,
[email protected]336e44892013-09-21 16:12:4960 ServiceWorkerMsgStart,
[email protected]1ea4c492014-02-15 19:45:1761 CastMsgStart,
[email protected]fb820c02014-03-13 15:07:0862 ChromeExtensionMsgStart,
[email protected]e02b6002014-05-06 10:26:4363 GinJavaBridgeMsgStart,
[email protected]ddc6a122014-06-27 04:52:3264 ChromeUtilityPrintingMsgStart,
[email protected]da9f30a2014-06-18 19:39:0465 AecDumpMsgStart,
[email protected]577662cd2014-06-26 06:46:0266 OzoneGpuMsgStart,
[email protected]4459599e2014-07-29 22:40:0967 PlatformNotificationMsgStart,
petere04203592014-10-27 17:57:3568 LayoutTestMsgStart,
tibell0773f7612016-07-25 01:00:4369 NetworkHintsMsgStart,
gunscha2d67bde2014-12-17 06:49:2470 CastMediaMsgStart,
boliubee541f42015-11-05 00:52:5371 SyncCompositorMsgStart,
fsamuelb0dc17d2015-04-21 18:41:3972 ExtensionsGuestViewMsgStart,
fsamuela04a4482015-02-03 01:29:2673 GuestViewMsgStart,
derekjchow45e97812015-04-17 23:52:4274 // Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast
75 // internal code. Contact gunsch@ before changing/removing.
gunschd1f98802015-02-24 01:05:3676 CastCryptoMsgStart,
derekjchow45e97812015-04-17 23:52:4277 CastChannelMsgStart,
erikchen98daa732015-09-25 18:30:0378 IPCTestMsgStart,
kulshin4039fd5b2015-12-14 23:12:5479 DWriteFontProxyMsgStart,
dalecurtisbb3eaac2016-01-27 21:10:2580 MediaPlayerDelegateMsgStart,
watkdee516f2016-02-18 02:22:1981 SurfaceViewManagerMsgStart,
lazyboyee4adef2016-05-24 00:55:1682 ExtensionWorkerMsgStart,
engedy9ae04242016-06-08 13:31:1883 SubresourceFilterMsgStart,
[email protected]336e44892013-09-21 16:12:4984 LastIPCMsgStart // Must come last.
[email protected]f9509812012-10-23 23:03:3585};
86
87#endif // IPC_IPC_MESSAGE_START_H_