blob: 6eccc9004cb0549c5912d852eae4938430b69f55 [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,
21 DevToolsMsgStart,
22 WorkerMsgStart,
23 NaClMsgStart,
fsamuela660ce02016-02-25 03:56:1624 GpuChannelMsgStart,
fsamuel9f535e222016-02-25 17:51:5125 MediaMsgStart,
[email protected]f9509812012-10-23 23:03:3526 ServiceMsgStart,
27 PpapiMsgStart,
28 FirefoxImporterUnittestMsgStart,
29 FileUtilitiesMsgStart,
[email protected]f9509812012-10-23 23:03:3530 DatabaseMsgStart,
31 DOMStorageMsgStart,
[email protected]f9509812012-10-23 23:03:3532 SpeechRecognitionMsgStart,
[email protected]f9509812012-10-23 23:03:3533 SafeBrowsingMsgStart,
34 P2PMsgStart,
[email protected]f9509812012-10-23 23:03:3535 ResourceMsgStart,
36 FileSystemMsgStart,
37 ChildProcessMsgStart,
38 ClipboardMsgStart,
39 BlobMsgStart,
40 AppCacheMsgStart,
[email protected]f9509812012-10-23 23:03:3541 AudioMsgStart,
[email protected]6e068ea2014-02-04 07:05:4742 MidiMsgStart,
[email protected]f9509812012-10-23 23:03:3543 ChromeMsgStart,
44 DragMsgStart,
45 PrintMsgStart,
46 SpellCheckMsgStart,
47 ExtensionMsgStart,
[email protected]f9509812012-10-23 23:03:3548 QuotaMsgStart,
[email protected]f9509812012-10-23 23:03:3549 TextInputClientMsgStart,
[email protected]f9509812012-10-23 23:03:3550 MediaStreamMsgStart,
[email protected]f9509812012-10-23 23:03:3551 JavaBridgeMsgStart,
[email protected]f9509812012-10-23 23:03:3552 ShellMsgStart,
53 AccessibilityMsgStart,
54 PrerenderMsgStart,
55 ChromotingMsgStart,
[email protected]f9509812012-10-23 23:03:3556 BrowserPluginMsgStart,
[email protected]f9509812012-10-23 23:03:3557 AndroidWebViewMsgStart,
58 MetroViewerMsgStart,
59 CCMsgStart,
60 MediaPlayerMsgStart,
[email protected]92fe6102012-12-08 01:55:0761 TracingMsgStart,
[email protected]af089972013-01-10 04:04:4062 PeerConnectionTrackerMsgStart,
[email protected]acd2121c2013-03-18 05:54:5063 AppShimMsgStart,
[email protected]fc8638a2013-04-18 09:17:0264 WebRtcLoggingMsgStart,
[email protected]7a06d282013-05-03 04:39:3365 TtsMsgStart,
[email protected]01e59752013-06-18 00:17:3566 NaClHostMsgStart,
[email protected]2b12c322013-09-19 06:53:5667 EncryptedMediaMsgStart,
jsbellabadb9b2015-03-23 21:03:4468 CacheStorageMsgStart,
[email protected]336e44892013-09-21 16:12:4969 ServiceWorkerMsgStart,
[email protected]44042882014-01-09 12:42:4570 EmbeddedWorkerMsgStart,
[email protected]ddbb53342014-01-06 10:59:4771 EmbeddedWorkerContextMsgStart,
[email protected]1ea4c492014-02-15 19:45:1772 CastMsgStart,
[email protected]33247a92014-03-13 10:04:4973 MediaStreamTrackMetricsHostMsgStart,
[email protected]fb820c02014-03-13 15:07:0874 ChromeExtensionMsgStart,
[email protected]e02b6002014-05-06 10:26:4375 GinJavaBridgeMsgStart,
[email protected]ddc6a122014-06-27 04:52:3276 ChromeUtilityPrintingMsgStart,
[email protected]da9f30a2014-06-18 19:39:0477 AecDumpMsgStart,
[email protected]577662cd2014-06-26 06:46:0278 OzoneGpuMsgStart,
[email protected]ddc6a122014-06-27 04:52:3279 ChromeUtilityExtensionsMsgStart,
[email protected]4459599e2014-07-29 22:40:0980 PlatformNotificationMsgStart,
petere04203592014-10-27 17:57:3581 LayoutTestMsgStart,
tibell0773f7612016-07-25 01:00:4382 NetworkHintsMsgStart,
gunscha2d67bde2014-12-17 06:49:2483 CastMediaMsgStart,
boliubee541f42015-11-05 00:52:5384 SyncCompositorMsgStart,
fsamuelb0dc17d2015-04-21 18:41:3985 ExtensionsGuestViewMsgStart,
fsamuela04a4482015-02-03 01:29:2686 GuestViewMsgStart,
derekjchow45e97812015-04-17 23:52:4287 // Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast
88 // internal code. Contact gunsch@ before changing/removing.
gunschd1f98802015-02-24 01:05:3689 CastCryptoMsgStart,
derekjchow45e97812015-04-17 23:52:4290 CastChannelMsgStart,
avi914d82e2015-09-14 19:04:1291 RenderProcessMsgStart,
erikchen98daa732015-09-25 18:30:0392 IPCTestMsgStart,
kulshin4039fd5b2015-12-14 23:12:5493 DWriteFontProxyMsgStart,
dalecurtisbb3eaac2016-01-27 21:10:2594 MediaPlayerDelegateMsgStart,
watkdee516f2016-02-18 02:22:1995 SurfaceViewManagerMsgStart,
lazyboyee4adef2016-05-24 00:55:1696 ExtensionWorkerMsgStart,
engedy9ae04242016-06-08 13:31:1897 SubresourceFilterMsgStart,
[email protected]336e44892013-09-21 16:12:4998 LastIPCMsgStart // Must come last.
[email protected]f9509812012-10-23 23:03:3599};
100
101#endif // IPC_IPC_MESSAGE_START_H_