[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. |
Tom Sepez | a1e8cdef | 2017-08-02 16:44:33 | [diff] [blame] | 11 | // |
| 12 | // You should no longer be adding any new message classes. Instead, use mojo |
| 13 | // for all new work. |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 14 | enum IPCMessageStart { |
| 15 | AutomationMsgStart = 0, |
[email protected] | 9b159a5 | 2013-10-03 17:24:55 | [diff] [blame] | 16 | FrameMsgStart, |
lfg | db5c4ed | 2016-03-04 23:09:07 | [diff] [blame] | 17 | PageMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 18 | ViewMsgStart, |
[email protected] | c084330e0 | 2013-04-27 01:08:15 | [diff] [blame] | 19 | InputMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 20 | TestMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 21 | WorkerMsgStart, |
| 22 | NaClMsgStart, |
fsamuel | a660ce0 | 2016-02-25 03:56:16 | [diff] [blame] | 23 | GpuChannelMsgStart, |
fsamuel | 9f535e22 | 2016-02-25 17:51:51 | [diff] [blame] | 24 | MediaMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 25 | PpapiMsgStart, |
| 26 | FirefoxImporterUnittestMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 27 | DOMStorageMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 28 | SpeechRecognitionMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 29 | SafeBrowsingMsgStart, |
| 30 | P2PMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 31 | ResourceMsgStart, |
| 32 | FileSystemMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 33 | BlobMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 34 | AudioMsgStart, |
[email protected] | 6e068ea | 2014-02-04 07:05:47 | [diff] [blame] | 35 | MidiMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 36 | ChromeMsgStart, |
| 37 | DragMsgStart, |
| 38 | PrintMsgStart, |
| 39 | SpellCheckMsgStart, |
| 40 | ExtensionMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 41 | TextInputClientMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 42 | JavaBridgeMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 43 | ShellMsgStart, |
| 44 | AccessibilityMsgStart, |
| 45 | PrerenderMsgStart, |
| 46 | ChromotingMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 47 | BrowserPluginMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 48 | AndroidWebViewMsgStart, |
| 49 | MetroViewerMsgStart, |
| 50 | CCMsgStart, |
| 51 | MediaPlayerMsgStart, |
[email protected] | 92fe610 | 2012-12-08 01:55:07 | [diff] [blame] | 52 | TracingMsgStart, |
[email protected] | af08997 | 2013-01-10 04:04:40 | [diff] [blame] | 53 | PeerConnectionTrackerMsgStart, |
[email protected] | acd2121c | 2013-03-18 05:54:50 | [diff] [blame] | 54 | AppShimMsgStart, |
[email protected] | fc8638a | 2013-04-18 09:17:02 | [diff] [blame] | 55 | WebRtcLoggingMsgStart, |
[email protected] | 7a06d28 | 2013-05-03 04:39:33 | [diff] [blame] | 56 | TtsMsgStart, |
[email protected] | 01e5975 | 2013-06-18 00:17:35 | [diff] [blame] | 57 | NaClHostMsgStart, |
[email protected] | 2b12c32 | 2013-09-19 06:53:56 | [diff] [blame] | 58 | EncryptedMediaMsgStart, |
jsbell | abadb9b | 2015-03-23 21:03:44 | [diff] [blame] | 59 | CacheStorageMsgStart, |
[email protected] | 336e4489 | 2013-09-21 16:12:49 | [diff] [blame] | 60 | ServiceWorkerMsgStart, |
[email protected] | 1ea4c49 | 2014-02-15 19:45:17 | [diff] [blame] | 61 | CastMsgStart, |
[email protected] | fb820c0 | 2014-03-13 15:07:08 | [diff] [blame] | 62 | ChromeExtensionMsgStart, |
[email protected] | e02b600 | 2014-05-06 10:26:43 | [diff] [blame] | 63 | GinJavaBridgeMsgStart, |
[email protected] | ddc6a12 | 2014-06-27 04:52:32 | [diff] [blame] | 64 | ChromeUtilityPrintingMsgStart, |
[email protected] | da9f30a | 2014-06-18 19:39:04 | [diff] [blame] | 65 | AecDumpMsgStart, |
[email protected] | 577662cd | 2014-06-26 06:46:02 | [diff] [blame] | 66 | OzoneGpuMsgStart, |
[email protected] | 4459599e | 2014-07-29 22:40:09 | [diff] [blame] | 67 | PlatformNotificationMsgStart, |
peter | e0420359 | 2014-10-27 17:57:35 | [diff] [blame] | 68 | LayoutTestMsgStart, |
tibell | 0773f761 | 2016-07-25 01:00:43 | [diff] [blame] | 69 | NetworkHintsMsgStart, |
gunsch | a2d67bde | 2014-12-17 06:49:24 | [diff] [blame] | 70 | CastMediaMsgStart, |
boliu | bee541f4 | 2015-11-05 00:52:53 | [diff] [blame] | 71 | SyncCompositorMsgStart, |
fsamuel | b0dc17d | 2015-04-21 18:41:39 | [diff] [blame] | 72 | ExtensionsGuestViewMsgStart, |
fsamuel | a04a448 | 2015-02-03 01:29:26 | [diff] [blame] | 73 | GuestViewMsgStart, |
derekjchow | 45e9781 | 2015-04-17 23:52:42 | [diff] [blame] | 74 | // Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast |
| 75 | // internal code. Contact gunsch@ before changing/removing. |
gunsch | d1f9880 | 2015-02-24 01:05:36 | [diff] [blame] | 76 | CastCryptoMsgStart, |
derekjchow | 45e9781 | 2015-04-17 23:52:42 | [diff] [blame] | 77 | CastChannelMsgStart, |
erikchen | 98daa73 | 2015-09-25 18:30:03 | [diff] [blame] | 78 | IPCTestMsgStart, |
kulshin | 4039fd5b | 2015-12-14 23:12:54 | [diff] [blame] | 79 | DWriteFontProxyMsgStart, |
dalecurtis | bb3eaac | 2016-01-27 21:10:25 | [diff] [blame] | 80 | MediaPlayerDelegateMsgStart, |
watk | dee516f | 2016-02-18 02:22:19 | [diff] [blame] | 81 | SurfaceViewManagerMsgStart, |
lazyboy | ee4adef | 2016-05-24 00:55:16 | [diff] [blame] | 82 | ExtensionWorkerMsgStart, |
engedy | 9ae0424 | 2016-06-08 13:31:18 | [diff] [blame] | 83 | SubresourceFilterMsgStart, |
[email protected] | 336e4489 | 2013-09-21 16:12:49 | [diff] [blame] | 84 | LastIPCMsgStart // Must come last. |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 85 | }; |
| 86 | |
| 87 | #endif // IPC_IPC_MESSAGE_START_H_ |