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