[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, |
[email protected] | 9b159a5 | 2013-10-03 17:24:55 | [diff] [blame] | 13 | FrameMsgStart, |
lfg | db5c4ed | 2016-03-04 23:09:07 | [diff] [blame] | 14 | PageMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 15 | ViewMsgStart, |
[email protected] | c084330e0 | 2013-04-27 01:08:15 | [diff] [blame] | 16 | InputMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 17 | ProfileImportMsgStart, |
| 18 | TestMsgStart, |
| 19 | DevToolsMsgStart, |
| 20 | WorkerMsgStart, |
| 21 | NaClMsgStart, |
| 22 | UtilityMsgStart, |
fsamuel | a660ce0 | 2016-02-25 03:56:16 | [diff] [blame] | 23 | GpuChannelMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 24 | GpuMsgStart, |
fsamuel | 9f535e22 | 2016-02-25 17:51:51 | [diff] [blame] | 25 | MediaMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 26 | ServiceMsgStart, |
| 27 | PpapiMsgStart, |
| 28 | FirefoxImporterUnittestMsgStart, |
| 29 | FileUtilitiesMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 30 | DatabaseMsgStart, |
| 31 | DOMStorageMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 32 | SpeechRecognitionMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 33 | SafeBrowsingMsgStart, |
| 34 | P2PMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 35 | ResourceMsgStart, |
| 36 | FileSystemMsgStart, |
| 37 | ChildProcessMsgStart, |
| 38 | ClipboardMsgStart, |
| 39 | BlobMsgStart, |
| 40 | AppCacheMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 41 | AudioMsgStart, |
[email protected] | 6e068ea | 2014-02-04 07:05:47 | [diff] [blame] | 42 | MidiMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 43 | ChromeMsgStart, |
| 44 | DragMsgStart, |
| 45 | PrintMsgStart, |
| 46 | SpellCheckMsgStart, |
| 47 | ExtensionMsgStart, |
| 48 | VideoCaptureMsgStart, |
| 49 | QuotaMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 50 | TextInputClientMsgStart, |
| 51 | ChromeUtilityMsgStart, |
| 52 | MediaStreamMsgStart, |
| 53 | ChromeBenchmarkingMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 54 | JavaBridgeMsgStart, |
| 55 | GamepadMsgStart, |
| 56 | ShellMsgStart, |
| 57 | AccessibilityMsgStart, |
[email protected] | 798da05 | 2014-06-17 15:02:38 | [diff] [blame] | 58 | PrefetchMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 59 | PrerenderMsgStart, |
| 60 | ChromotingMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 61 | BrowserPluginMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 62 | AndroidWebViewMsgStart, |
| 63 | MetroViewerMsgStart, |
| 64 | CCMsgStart, |
| 65 | MediaPlayerMsgStart, |
[email protected] | 92fe610 | 2012-12-08 01:55:07 | [diff] [blame] | 66 | TracingMsgStart, |
[email protected] | af08997 | 2013-01-10 04:04:40 | [diff] [blame] | 67 | PeerConnectionTrackerMsgStart, |
[email protected] | 1f371fa | 2013-01-23 00:35:14 | [diff] [blame] | 68 | VisitedLinkMsgStart, |
[email protected] | acd2121c | 2013-03-18 05:54:50 | [diff] [blame] | 69 | AppShimMsgStart, |
[email protected] | fc8638a | 2013-04-18 09:17:02 | [diff] [blame] | 70 | WebRtcLoggingMsgStart, |
[email protected] | 7a06d28 | 2013-05-03 04:39:33 | [diff] [blame] | 71 | TtsMsgStart, |
[email protected] | e83ab82 | 2013-06-11 17:16:22 | [diff] [blame] | 72 | WebSocketMsgStart, |
[email protected] | 01e5975 | 2013-06-18 00:17:35 | [diff] [blame] | 73 | NaClHostMsgStart, |
[email protected] | d322066 | 2013-07-01 21:21:46 | [diff] [blame] | 74 | WebRTCIdentityMsgStart, |
[email protected] | 9dd9015 | 2013-08-02 22:09:13 | [diff] [blame] | 75 | PowerMonitorMsgStart, |
[email protected] | 2b12c32 | 2013-09-19 06:53:56 | [diff] [blame] | 76 | EncryptedMediaMsgStart, |
jsbell | abadb9b | 2015-03-23 21:03:44 | [diff] [blame] | 77 | CacheStorageMsgStart, |
[email protected] | 336e4489 | 2013-09-21 16:12:49 | [diff] [blame] | 78 | ServiceWorkerMsgStart, |
[email protected] | 83fc55e4 | 2013-10-15 10:57:49 | [diff] [blame] | 79 | MessagePortMsgStart, |
[email protected] | 4404288 | 2014-01-09 12:42:45 | [diff] [blame] | 80 | EmbeddedWorkerMsgStart, |
[email protected] | ddbb5334 | 2014-01-06 10:59:47 | [diff] [blame] | 81 | EmbeddedWorkerContextMsgStart, |
[email protected] | 1ea4c49 | 2014-02-15 19:45:17 | [diff] [blame] | 82 | CastMsgStart, |
[email protected] | 3e828c3 | 2014-02-27 14:24:54 | [diff] [blame] | 83 | CdmMsgStart, |
[email protected] | 33247a9 | 2014-03-13 10:04:49 | [diff] [blame] | 84 | MediaStreamTrackMetricsHostMsgStart, |
[email protected] | fb820c0 | 2014-03-13 15:07:08 | [diff] [blame] | 85 | ChromeExtensionMsgStart, |
[email protected] | e1c17416 | 2014-04-08 15:39:31 | [diff] [blame] | 86 | PushMessagingMsgStart, |
[email protected] | e02b600 | 2014-05-06 10:26:43 | [diff] [blame] | 87 | GinJavaBridgeMsgStart, |
[email protected] | ddc6a12 | 2014-06-27 04:52:32 | [diff] [blame] | 88 | ChromeUtilityPrintingMsgStart, |
[email protected] | da9f30a | 2014-06-18 19:39:04 | [diff] [blame] | 89 | AecDumpMsgStart, |
[email protected] | 577662cd | 2014-06-26 06:46:02 | [diff] [blame] | 90 | OzoneGpuMsgStart, |
[email protected] | ddc6a12 | 2014-06-27 04:52:32 | [diff] [blame] | 91 | ChromeUtilityExtensionsMsgStart, |
[email protected] | 4459599e | 2014-07-29 22:40:09 | [diff] [blame] | 92 | PlatformNotificationMsgStart, |
Sadrul Habib Chowdhury | 2f8807f | 2014-08-28 03:50:36 | [diff] [blame] | 93 | PDFMsgStart, |
mlamouri | efdca9d | 2014-09-16 16:55:40 | [diff] [blame] | 94 | ManifestManagerMsgStart, |
rockot | eb6d47fa | 2014-09-24 20:31:53 | [diff] [blame] | 95 | ExtensionUtilityMsgStart, |
peter | e0420359 | 2014-10-27 17:57:35 | [diff] [blame] | 96 | LayoutTestMsgStart, |
tibell | 0773f761 | 2016-07-25 01:00:43 | [diff] [blame] | 97 | NetworkHintsMsgStart, |
scheib | 566d082 | 2014-11-26 18:21:19 | [diff] [blame] | 98 | BluetoothMsgStart, |
gunsch | a2d67bde | 2014-12-17 06:49:24 | [diff] [blame] | 99 | CastMediaMsgStart, |
sgurun | d2a43060 | 2015-01-23 20:54:05 | [diff] [blame] | 100 | AwMessagePortMsgStart, |
boliu | bee541f4 | 2015-11-05 00:52:53 | [diff] [blame] | 101 | SyncCompositorMsgStart, |
fsamuel | b0dc17d | 2015-04-21 18:41:39 | [diff] [blame] | 102 | ExtensionsGuestViewMsgStart, |
fsamuel | a04a448 | 2015-02-03 01:29:26 | [diff] [blame] | 103 | GuestViewMsgStart, |
derekjchow | 45e9781 | 2015-04-17 23:52:42 | [diff] [blame] | 104 | // Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast |
| 105 | // internal code. Contact gunsch@ before changing/removing. |
gunsch | d1f9880 | 2015-02-24 01:05:36 | [diff] [blame] | 106 | CastCryptoMsgStart, |
derekjchow | 45e9781 | 2015-04-17 23:52:42 | [diff] [blame] | 107 | CastChannelMsgStart, |
jeremyim | 364ac118 | 2015-03-03 18:49:43 | [diff] [blame] | 108 | DataReductionProxyStart, |
benwells | 04ab5b96 | 2015-05-06 08:29:40 | [diff] [blame] | 109 | ChromeAppBannerMsgStart, |
erikchen | eece6c3 | 2015-07-07 22:13:11 | [diff] [blame] | 110 | AttachmentBrokerMsgStart, |
avi | 914d82e | 2015-09-14 19:04:12 | [diff] [blame] | 111 | RenderProcessMsgStart, |
csharrison | 9fa62d5 | 2015-09-21 22:05:29 | [diff] [blame] | 112 | PageLoadMetricsMsgStart, |
petrcermak | 29bd405 | 2015-09-24 08:28:48 | [diff] [blame] | 113 | MemoryMsgStart, |
erikchen | 98daa73 | 2015-09-25 18:30:03 | [diff] [blame] | 114 | IPCTestMsgStart, |
lhchavez | 67d14d42 | 2015-11-05 03:47:56 | [diff] [blame] | 115 | ArcInstanceMsgStart, |
| 116 | ArcInstanceHostMsgStart, |
wychen | e5568734 | 2015-11-13 20:17:03 | [diff] [blame] | 117 | DistillerMsgStart, |
henryhsu | c8b6dbd | 2015-12-15 06:17:05 | [diff] [blame] | 118 | ArcCameraMsgStart, |
kulshin | 4039fd5b | 2015-12-14 23:12:54 | [diff] [blame] | 119 | DWriteFontProxyMsgStart, |
dalecurtis | bb3eaac | 2016-01-27 21:10:25 | [diff] [blame] | 120 | MediaPlayerDelegateMsgStart, |
watk | dee516f | 2016-02-18 02:22:19 | [diff] [blame] | 121 | SurfaceViewManagerMsgStart, |
lazyboy | ee4adef | 2016-05-24 00:55:16 | [diff] [blame] | 122 | ExtensionWorkerMsgStart, |
engedy | 9ae0424 | 2016-06-08 13:31:18 | [diff] [blame] | 123 | SubresourceFilterMsgStart, |
[email protected] | 336e4489 | 2013-09-21 16:12:49 | [diff] [blame] | 124 | LastIPCMsgStart // Must come last. |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 125 | }; |
| 126 | |
| 127 | #endif // IPC_IPC_MESSAGE_START_H_ |