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