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. 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. 11 enum IPCMessageStart { 12 AutomationMsgStart = 0, 13 FrameMsgStart, 14 PageMsgStart, 15 ViewMsgStart, 16 InputMsgStart, 17 ProfileImportMsgStart, 18 TestMsgStart, 19 DevToolsMsgStart, 20 WorkerMsgStart, 21 NaClMsgStart, 22 UtilityMsgStart, 23 GpuChannelMsgStart, 24 GpuMsgStart, 25 MediaMsgStart, 26 ServiceMsgStart, 27 PpapiMsgStart, 28 FirefoxImporterUnittestMsgStart, 29 FileUtilitiesMsgStart, 30 DatabaseMsgStart, 31 DOMStorageMsgStart, 32 IndexedDBMsgStart, 33 SpeechRecognitionMsgStart, 34 AutofillMsgStart, 35 SafeBrowsingMsgStart, 36 P2PMsgStart, 37 ResourceMsgStart, 38 FileSystemMsgStart, 39 ChildProcessMsgStart, 40 ClipboardMsgStart, 41 BlobMsgStart, 42 AppCacheMsgStart, 43 AudioMsgStart, 44 MidiMsgStart, 45 ChromeMsgStart, 46 DragMsgStart, 47 PrintMsgStart, 48 SpellCheckMsgStart, 49 ExtensionMsgStart, 50 VideoCaptureMsgStart, 51 QuotaMsgStart, 52 TextInputClientMsgStart, 53 ChromeUtilityMsgStart, 54 MediaStreamMsgStart, 55 ChromeBenchmarkingMsgStart, 56 JavaBridgeMsgStart, 57 GamepadMsgStart, 58 ShellMsgStart, 59 AccessibilityMsgStart, 60 PrefetchMsgStart, 61 PrerenderMsgStart, 62 ChromotingMsgStart, 63 BrowserPluginMsgStart, 64 AndroidWebViewMsgStart, 65 MetroViewerMsgStart, 66 CCMsgStart, 67 MediaPlayerMsgStart, 68 TracingMsgStart, 69 PeerConnectionTrackerMsgStart, 70 VisitedLinkMsgStart, 71 AppShimMsgStart, 72 WebRtcLoggingMsgStart, 73 TtsMsgStart, 74 WebSocketMsgStart, 75 NaClHostMsgStart, 76 WebRTCIdentityMsgStart, 77 PowerMonitorMsgStart, 78 EncryptedMediaMsgStart, 79 CacheStorageMsgStart, 80 ServiceWorkerMsgStart, 81 MessagePortMsgStart, 82 EmbeddedWorkerMsgStart, 83 EmbeddedWorkerContextMsgStart, 84 CastMsgStart, 85 CdmMsgStart, 86 ScreenOrientationMsgStart, 87 MediaStreamTrackMetricsHostMsgStart, 88 ChromeExtensionMsgStart, 89 TranslateMsgStart, 90 PushMessagingMsgStart, 91 GinJavaBridgeMsgStart, 92 ChromeUtilityPrintingMsgStart, 93 AecDumpMsgStart, 94 OzoneGpuMsgStart, 95 ChromeUtilityExtensionsMsgStart, 96 PlatformNotificationMsgStart, 97 PDFMsgStart, 98 ManifestManagerMsgStart, 99 ExtensionUtilityMsgStart, 100 LayoutTestMsgStart, 101 NetworkHintsMsgStart, 102 BluetoothMsgStart, 103 CastMediaMsgStart, 104 AwMessagePortMsgStart, 105 SyncCompositorMsgStart, 106 ExtensionsGuestViewMsgStart, 107 GuestViewMsgStart, 108 // Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast 109 // internal code. Contact gunsch@ before changing/removing. 110 CastCryptoMsgStart, 111 CastChannelMsgStart, 112 DataReductionProxyStart, 113 ContentSettingsMsgStart, 114 ChromeAppBannerMsgStart, 115 AttachmentBrokerMsgStart, 116 RenderProcessMsgStart, 117 PageLoadMetricsMsgStart, 118 MemoryMsgStart, 119 MediaSessionMsgStart, 120 IPCTestMsgStart, 121 ArcInstanceMsgStart, 122 ArcInstanceHostMsgStart, 123 DistillerMsgStart, 124 ArcCameraMsgStart, 125 DWriteFontProxyMsgStart, 126 MediaPlayerDelegateMsgStart, 127 SurfaceViewManagerMsgStart, 128 ExtensionWorkerMsgStart, 129 SubresourceFilterMsgStart, 130 LastIPCMsgStart // Must come last. 131 }; 132 133 #endif // IPC_IPC_MESSAGE_START_H_ 134