[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 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, |
[email protected] | c084330e0 | 2013-04-27 01:08:15 | [diff] [blame] | 14 | InputMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 15 | PluginMsgStart, |
| 16 | ProfileImportMsgStart, |
| 17 | TestMsgStart, |
| 18 | DevToolsMsgStart, |
| 19 | WorkerMsgStart, |
| 20 | NaClMsgStart, |
| 21 | UtilityMsgStart, |
| 22 | GpuMsgStart, |
| 23 | ServiceMsgStart, |
| 24 | PpapiMsgStart, |
| 25 | FirefoxImporterUnittestMsgStart, |
| 26 | FileUtilitiesMsgStart, |
| 27 | MimeRegistryMsgStart, |
| 28 | DatabaseMsgStart, |
| 29 | DOMStorageMsgStart, |
| 30 | IndexedDBMsgStart, |
| 31 | PepperFileMsgStart, |
| 32 | SpeechRecognitionMsgStart, |
| 33 | PepperMsgStart, |
| 34 | AutofillMsgStart, |
| 35 | SafeBrowsingMsgStart, |
| 36 | P2PMsgStart, |
| 37 | SocketStreamMsgStart, |
| 38 | ResourceMsgStart, |
| 39 | FileSystemMsgStart, |
| 40 | ChildProcessMsgStart, |
| 41 | ClipboardMsgStart, |
| 42 | BlobMsgStart, |
| 43 | AppCacheMsgStart, |
| 44 | DeviceMotionMsgStart, |
| 45 | DeviceOrientationMsgStart, |
| 46 | DesktopNotificationMsgStart, |
| 47 | GeolocationMsgStart, |
| 48 | AudioMsgStart, |
| 49 | ChromeMsgStart, |
| 50 | DragMsgStart, |
| 51 | PrintMsgStart, |
| 52 | SpellCheckMsgStart, |
| 53 | ExtensionMsgStart, |
| 54 | VideoCaptureMsgStart, |
| 55 | QuotaMsgStart, |
[email protected] | 41225fe | 2013-03-29 05:32:02 | [diff] [blame] | 56 | ImageMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 57 | TextInputClientMsgStart, |
| 58 | ChromeUtilityMsgStart, |
| 59 | MediaStreamMsgStart, |
| 60 | ChromeBenchmarkingMsgStart, |
| 61 | IntentsMsgStart, |
| 62 | JavaBridgeMsgStart, |
| 63 | GamepadMsgStart, |
| 64 | ShellMsgStart, |
| 65 | AccessibilityMsgStart, |
| 66 | PrerenderMsgStart, |
| 67 | ChromotingMsgStart, |
| 68 | OldBrowserPluginMsgStart, |
| 69 | BrowserPluginMsgStart, |
| 70 | HyphenatorMsgStart, |
| 71 | AndroidWebViewMsgStart, |
| 72 | MetroViewerMsgStart, |
| 73 | CCMsgStart, |
| 74 | MediaPlayerMsgStart, |
[email protected] | 92fe610 | 2012-12-08 01:55:07 | [diff] [blame] | 75 | TracingMsgStart, |
[email protected] | af08997 | 2013-01-10 04:04:40 | [diff] [blame] | 76 | PeerConnectionTrackerMsgStart, |
[email protected] | 1f371fa | 2013-01-23 00:35:14 | [diff] [blame] | 77 | VisitedLinkMsgStart, |
[email protected] | b6b15bcc | 2013-02-01 05:34:25 | [diff] [blame] | 78 | OneClickSigninMsgStart, |
[email protected] | acd2121c | 2013-03-18 05:54:50 | [diff] [blame] | 79 | AppShimMsgStart, |
[email protected] | 1352ca9 | 2013-04-30 02:30:27 | [diff] [blame^] | 80 | ValidationMessageMsgStart, |
[email protected] | fc8638a | 2013-04-18 09:17:02 | [diff] [blame] | 81 | WebRtcLoggingMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 82 | LastIPCMsgStart // Must come last. |
| 83 | }; |
| 84 | |
| 85 | #endif // IPC_IPC_MESSAGE_START_H_ |