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 ViewMsgStart, 14 InputMsgStart, 15 PluginMsgStart, 16 PluginProcessMsgStart, 17 ProfileImportMsgStart, 18 TestMsgStart, 19 DevToolsMsgStart, 20 WorkerMsgStart, 21 NaClMsgStart, 22 UtilityMsgStart, 23 GpuMsgStart, 24 ServiceMsgStart, 25 PpapiMsgStart, 26 FirefoxImporterUnittestMsgStart, 27 FileUtilitiesMsgStart, 28 MimeRegistryMsgStart, 29 DatabaseMsgStart, 30 DOMStorageMsgStart, 31 IndexedDBMsgStart, 32 PepperFileMsgStart, 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 DeviceMotionMsgStart, 46 DeviceOrientationMsgStart, 47 DesktopNotificationMsgStart, 48 GeolocationMsgStart, 49 AudioMsgStart, 50 MIDIMsgStart, 51 ChromeMsgStart, 52 DragMsgStart, 53 PrintMsgStart, 54 SpellCheckMsgStart, 55 ExtensionMsgStart, 56 VideoCaptureMsgStart, 57 QuotaMsgStart, 58 ImageMsgStart, 59 TextInputClientMsgStart, 60 ChromeUtilityMsgStart, 61 MediaStreamMsgStart, 62 ChromeBenchmarkingMsgStart, 63 IntentsMsgStart, 64 JavaBridgeMsgStart, 65 GamepadMsgStart, 66 ShellMsgStart, 67 AccessibilityMsgStart, 68 PrerenderMsgStart, 69 ChromotingMsgStart, 70 OldBrowserPluginMsgStart, 71 BrowserPluginMsgStart, 72 HyphenatorMsgStart, 73 AndroidWebViewMsgStart, 74 MetroViewerMsgStart, 75 CCMsgStart, 76 MediaPlayerMsgStart, 77 TracingMsgStart, 78 PeerConnectionTrackerMsgStart, 79 VisitedLinkMsgStart, 80 OneClickSigninMsgStart, 81 AppShimMsgStart, 82 ValidationMessageMsgStart, 83 WebRtcLoggingMsgStart, 84 TtsMsgStart, 85 MemoryBenchmarkMsgStart, 86 WebSocketMsgStart, 87 NaClHostMsgStart, 88 WebRTCIdentityMsgStart, 89 LocalDiscoveryMsgStart, 90 PowerMonitorMsgStart, 91 LastIPCMsgStart // Must come last. 92 }; 93 94 #endif // IPC_IPC_MESSAGE_START_H_ 95