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 ViewMsgStart, 15 InputMsgStart, 16 PluginMsgStart, 17 PluginProcessMsgStart, 18 ProfileImportMsgStart, 19 TestMsgStart, 20 DevToolsMsgStart, 21 WorkerMsgStart, 22 NaClMsgStart, 23 UtilityMsgStart, 24 GpuMsgStart, 25 ServiceMsgStart, 26 PpapiMsgStart, 27 FirefoxImporterUnittestMsgStart, 28 FileUtilitiesMsgStart, 29 MimeRegistryMsgStart, 30 DatabaseMsgStart, 31 DOMStorageMsgStart, 32 IndexedDBMsgStart, 33 SpeechRecognitionMsgStart, 34 PepperMsgStart, 35 AutofillMsgStart, 36 SafeBrowsingMsgStart, 37 P2PMsgStart, 38 SocketStreamMsgStart, 39 ResourceMsgStart, 40 FileSystemMsgStart, 41 ChildProcessMsgStart, 42 ClipboardMsgStart, 43 BlobMsgStart, 44 AppCacheMsgStart, 45 DeviceLightMsgStart, 46 DeviceMotionMsgStart, 47 DeviceOrientationMsgStart, 48 DesktopNotificationMsgStart, 49 GeolocationMsgStart, 50 AudioMsgStart, 51 MidiMsgStart, 52 ChromeMsgStart, 53 DragMsgStart, 54 PrintMsgStart, 55 SpellCheckMsgStart, 56 ExtensionMsgStart, 57 VideoCaptureMsgStart, 58 QuotaMsgStart, 59 ImageMsgStart, 60 TextInputClientMsgStart, 61 ChromeUtilityMsgStart, 62 MediaStreamMsgStart, 63 ChromeBenchmarkingMsgStart, 64 JavaBridgeMsgStart, 65 GamepadMsgStart, 66 ShellMsgStart, 67 AccessibilityMsgStart, 68 PrefetchMsgStart, 69 PrerenderMsgStart, 70 ChromotingMsgStart, 71 BrowserPluginMsgStart, 72 AndroidWebViewMsgStart, 73 MetroViewerMsgStart, 74 CCMsgStart, 75 MediaPlayerMsgStart, 76 TracingMsgStart, 77 PeerConnectionTrackerMsgStart, 78 VisitedLinkMsgStart, 79 AppShimMsgStart, 80 WebRtcLoggingMsgStart, 81 TtsMsgStart, 82 MemoryBenchmarkMsgStart, 83 WebSocketMsgStart, 84 NaClHostMsgStart, 85 WebRTCIdentityMsgStart, 86 LocalDiscoveryMsgStart, 87 PowerMonitorMsgStart, 88 EncryptedMediaMsgStart, 89 ServiceWorkerMsgStart, 90 MessagePortMsgStart, 91 EmbeddedWorkerMsgStart, 92 EmbeddedWorkerContextMsgStart, 93 CastMsgStart, 94 CdmMsgStart, 95 ScreenOrientationMsgStart, 96 MediaStreamTrackMetricsHostMsgStart, 97 ChromeExtensionMsgStart, 98 MojoMsgStart, 99 TranslateMsgStart, 100 CldDataProviderMsgStart, 101 PushMessagingMsgStart, 102 GinJavaBridgeMsgStart, 103 BatteryStatusMsgStart, 104 ChromeUtilityPrintingMsgStart, 105 AecDumpMsgStart, 106 OzoneGpuMsgStart, 107 ChromeUtilityExtensionsMsgStart, 108 PlatformNotificationMsgStart, 109 CredentialManagerMsgStart, 110 PDFMsgStart, 111 WebCacheMsgStart, 112 ManifestManagerMsgStart, 113 ExtensionUtilityMsgStart, 114 LastIPCMsgStart // Must come last. 115 }; 116 117 #endif // IPC_IPC_MESSAGE_START_H_ 118