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.
5 #ifndef IPC_IPC_MESSAGE_START_H_
6 #define IPC_IPC_MESSAGE_START_H_
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,
17 PluginProcessMsgStart
,
18 ProfileImportMsgStart
,
27 FirefoxImporterUnittestMsgStart
,
28 FileUtilitiesMsgStart
,
33 SpeechRecognitionMsgStart
,
46 DeviceOrientationMsgStart
,
57 TextInputClientMsgStart
,
58 ChromeUtilityMsgStart
,
60 ChromeBenchmarkingMsgStart
,
64 AccessibilityMsgStart
,
68 BrowserPluginMsgStart
,
69 AndroidWebViewMsgStart
,
74 PeerConnectionTrackerMsgStart
,
77 WebRtcLoggingMsgStart
,
79 MemoryBenchmarkMsgStart
,
82 WebRTCIdentityMsgStart
,
83 LocalDiscoveryMsgStart
,
85 EncryptedMediaMsgStart
,
87 ServiceWorkerMsgStart
,
89 EmbeddedWorkerMsgStart
,
90 EmbeddedWorkerContextMsgStart
,
93 ScreenOrientationMsgStart
,
94 MediaStreamTrackMetricsHostMsgStart
,
95 ChromeExtensionMsgStart
,
98 CldDataProviderMsgStart
,
99 PushMessagingMsgStart
,
100 GinJavaBridgeMsgStart
,
101 ChromeUtilityPrintingMsgStart
,
104 ChromeUtilityExtensionsMsgStart
,
105 PlatformNotificationMsgStart
,
106 CredentialManagerMsgStart
,
109 ManifestManagerMsgStart
,
110 ExtensionUtilityMsgStart
,
113 NetworkHintsMsgStart
,
115 NavigatorConnectMsgStart
,
117 AwMessagePortMsgStart
,
118 ExtensionsGuestViewMsgStart
,
120 // Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast
121 // internal code. Contact gunsch@ before changing/removing.
124 DataReductionProxyStart
,
125 ContentSettingsMsgStart
,
126 LastIPCMsgStart
// Must come last.
129 #endif // IPC_IPC_MESSAGE_START_H_