tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [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, |
nasko@chromium.org | a36f001 | 2013-10-04 02:24:55 +0900 | [diff] [blame] | 13 | FrameMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 14 | ViewMsgStart, |
jamesr@chromium.org | 1dfc732 | 2013-04-27 10:08:15 +0900 | [diff] [blame] | 15 | InputMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 16 | PluginMsgStart, |
jamesr@chromium.org | 58d55fd | 2013-05-21 17:16:08 +0900 | [diff] [blame] | 17 | PluginProcessMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 18 | ProfileImportMsgStart, |
| 19 | TestMsgStart, |
| 20 | DevToolsMsgStart, |
| 21 | WorkerMsgStart, |
| 22 | NaClMsgStart, |
| 23 | UtilityMsgStart, |
fsamuel | 53b24a2 | 2016-02-25 12:56:16 +0900 | [diff] [blame] | 24 | GpuChannelMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 25 | GpuMsgStart, |
fsamuel | 0fd5a1b | 2016-02-26 02:51:51 +0900 | [diff] [blame^] | 26 | MediaMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 27 | ServiceMsgStart, |
| 28 | PpapiMsgStart, |
| 29 | FirefoxImporterUnittestMsgStart, |
| 30 | FileUtilitiesMsgStart, |
| 31 | MimeRegistryMsgStart, |
| 32 | DatabaseMsgStart, |
| 33 | DOMStorageMsgStart, |
| 34 | IndexedDBMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 35 | SpeechRecognitionMsgStart, |
| 36 | PepperMsgStart, |
| 37 | AutofillMsgStart, |
| 38 | SafeBrowsingMsgStart, |
| 39 | P2PMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 40 | ResourceMsgStart, |
| 41 | FileSystemMsgStart, |
| 42 | ChildProcessMsgStart, |
| 43 | ClipboardMsgStart, |
| 44 | BlobMsgStart, |
| 45 | AppCacheMsgStart, |
rijubrata.bhaumik@intel.com | e5fd836 | 2014-06-27 20:51:20 +0900 | [diff] [blame] | 46 | DeviceLightMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 47 | DeviceMotionMsgStart, |
| 48 | DeviceOrientationMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 49 | AudioMsgStart, |
toyoshim@chromium.org | 2458cfd | 2014-02-04 16:05:47 +0900 | [diff] [blame] | 50 | MidiMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 51 | ChromeMsgStart, |
| 52 | DragMsgStart, |
| 53 | PrintMsgStart, |
| 54 | SpellCheckMsgStart, |
| 55 | ExtensionMsgStart, |
| 56 | VideoCaptureMsgStart, |
| 57 | QuotaMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 58 | TextInputClientMsgStart, |
| 59 | ChromeUtilityMsgStart, |
| 60 | MediaStreamMsgStart, |
| 61 | ChromeBenchmarkingMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 62 | JavaBridgeMsgStart, |
| 63 | GamepadMsgStart, |
| 64 | ShellMsgStart, |
| 65 | AccessibilityMsgStart, |
tburkard@chromium.org | 18afbe1 | 2014-06-18 00:02:38 +0900 | [diff] [blame] | 66 | PrefetchMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 67 | PrerenderMsgStart, |
| 68 | ChromotingMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 69 | BrowserPluginMsgStart, |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 70 | AndroidWebViewMsgStart, |
| 71 | MetroViewerMsgStart, |
| 72 | CCMsgStart, |
| 73 | MediaPlayerMsgStart, |
jbauman@chromium.org | ad20135 | 2012-12-08 10:55:07 +0900 | [diff] [blame] | 74 | TracingMsgStart, |
jiayl@chromium.org | 5842636 | 2013-01-10 13:04:40 +0900 | [diff] [blame] | 75 | PeerConnectionTrackerMsgStart, |
boliu@chromium.org | 1d8e768 | 2013-01-23 09:35:14 +0900 | [diff] [blame] | 76 | VisitedLinkMsgStart, |
jeremya@chromium.org | dca3789 | 2013-03-18 14:54:50 +0900 | [diff] [blame] | 77 | AppShimMsgStart, |
grunell@chromium.org | c92462a | 2013-04-18 18:17:02 +0900 | [diff] [blame] | 78 | WebRtcLoggingMsgStart, |
dmazzoni@chromium.org | 2d71f6a | 2013-05-03 13:39:33 +0900 | [diff] [blame] | 79 | TtsMsgStart, |
ricea@chromium.org | f3c9df2 | 2013-06-12 02:16:22 +0900 | [diff] [blame] | 80 | WebSocketMsgStart, |
yael.aharon@intel.com | 364bea0 | 2013-06-18 09:17:35 +0900 | [diff] [blame] | 81 | NaClHostMsgStart, |
jiayl@chromium.org | f487caf | 2013-07-02 06:21:46 +0900 | [diff] [blame] | 82 | WebRTCIdentityMsgStart, |
bajones@chromium.org | 4bf25cc | 2013-08-03 07:09:13 +0900 | [diff] [blame] | 83 | PowerMonitorMsgStart, |
qinmin@chromium.org | ffe6553 | 2013-09-19 15:53:56 +0900 | [diff] [blame] | 84 | EncryptedMediaMsgStart, |
jsbell | 4f286e9 | 2015-03-24 06:03:44 +0900 | [diff] [blame] | 85 | CacheStorageMsgStart, |
alecflett@chromium.org | 974bc39 | 2013-09-22 01:12:49 +0900 | [diff] [blame] | 86 | ServiceWorkerMsgStart, |
marja@chromium.org | a4da28f | 2013-10-15 19:57:49 +0900 | [diff] [blame] | 87 | MessagePortMsgStart, |
kinuko@chromium.org | 5a92e64 | 2014-01-09 21:42:45 +0900 | [diff] [blame] | 88 | EmbeddedWorkerMsgStart, |
kinuko@chromium.org | 6c50cae | 2014-01-06 19:59:47 +0900 | [diff] [blame] | 89 | EmbeddedWorkerContextMsgStart, |
hubbe@chromium.org | 89c6c9d | 2014-02-16 04:45:17 +0900 | [diff] [blame] | 90 | CastMsgStart, |
xhwang@chromium.org | 6729656 | 2014-02-27 23:24:54 +0900 | [diff] [blame] | 91 | CdmMsgStart, |
mlamouri@chromium.org | 7c1284c | 2014-02-28 05:03:11 +0900 | [diff] [blame] | 92 | ScreenOrientationMsgStart, |
joi@chromium.org | b358265 | 2014-03-13 19:04:49 +0900 | [diff] [blame] | 93 | MediaStreamTrackMetricsHostMsgStart, |
derat@chromium.org | c9f8143 | 2014-03-14 00:07:08 +0900 | [diff] [blame] | 94 | ChromeExtensionMsgStart, |
sky@chromium.org | ff9ba82 | 2014-03-19 03:03:05 +0900 | [diff] [blame] | 95 | MojoMsgStart, |
droger@chromium.org | a124374 | 2014-04-04 14:07:49 +0900 | [diff] [blame] | 96 | TranslateMsgStart, |
andrewhayden@chromium.org | a2c8947 | 2014-06-25 00:54:26 +0900 | [diff] [blame] | 97 | CldDataProviderMsgStart, |
mvanouwerkerk@chromium.org | 679eceb | 2014-04-09 00:39:31 +0900 | [diff] [blame] | 98 | PushMessagingMsgStart, |
mnaganov@chromium.org | 96486d2 | 2014-05-06 19:26:43 +0900 | [diff] [blame] | 99 | GinJavaBridgeMsgStart, |
thestig@chromium.org | a99794c | 2014-06-27 13:52:32 +0900 | [diff] [blame] | 100 | ChromeUtilityPrintingMsgStart, |
grunell@chromium.org | aa19c59 | 2014-06-19 04:39:04 +0900 | [diff] [blame] | 101 | AecDumpMsgStart, |
spang@chromium.org | 7435206 | 2014-06-26 15:46:02 +0900 | [diff] [blame] | 102 | OzoneGpuMsgStart, |
thestig@chromium.org | a99794c | 2014-06-27 13:52:32 +0900 | [diff] [blame] | 103 | ChromeUtilityExtensionsMsgStart, |
peter@chromium.org | b584db0 | 2014-07-30 07:40:09 +0900 | [diff] [blame] | 104 | PlatformNotificationMsgStart, |
mkwst@chromium.org | 450fad9 | 2014-08-22 21:56:50 +0900 | [diff] [blame] | 105 | CredentialManagerMsgStart, |
Sadrul Habib Chowdhury | f830bdd | 2014-08-28 12:50:36 +0900 | [diff] [blame] | 106 | PDFMsgStart, |
hanxi | 51bd24f | 2014-09-12 06:57:18 +0900 | [diff] [blame] | 107 | WebCacheMsgStart, |
mlamouri | ee1523b | 2014-09-17 01:55:40 +0900 | [diff] [blame] | 108 | ManifestManagerMsgStart, |
rockot | 38931c2 | 2014-09-25 05:31:53 +0900 | [diff] [blame] | 109 | ExtensionUtilityMsgStart, |
mek | 80f4e37 | 2014-10-03 05:38:22 +0900 | [diff] [blame] | 110 | GeofencingMsgStart, |
peter | 5e82286 | 2014-10-28 02:57:35 +0900 | [diff] [blame] | 111 | LayoutTestMsgStart, |
pmeenan | 1216def | 2015-02-12 02:08:08 +0900 | [diff] [blame] | 112 | NetworkHintsMsgStart, |
scheib | 52be589 | 2014-11-27 03:21:19 +0900 | [diff] [blame] | 113 | BluetoothMsgStart, |
gunsch | 0932013 | 2014-12-17 15:49:24 +0900 | [diff] [blame] | 114 | CastMediaMsgStart, |
sgurun | 84c6ef5 | 2015-01-24 05:54:05 +0900 | [diff] [blame] | 115 | AwMessagePortMsgStart, |
boliu | 22ab238 | 2015-11-05 09:52:53 +0900 | [diff] [blame] | 116 | SyncCompositorMsgStart, |
fsamuel | 54748e1 | 2015-04-22 03:41:39 +0900 | [diff] [blame] | 117 | ExtensionsGuestViewMsgStart, |
fsamuel | 7b7fcd2 | 2015-02-03 10:29:26 +0900 | [diff] [blame] | 118 | GuestViewMsgStart, |
derekjchow | 75e0f67 | 2015-04-18 08:52:42 +0900 | [diff] [blame] | 119 | // Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast |
| 120 | // internal code. Contact gunsch@ before changing/removing. |
gunsch | 21ca5c0 | 2015-02-24 10:05:36 +0900 | [diff] [blame] | 121 | CastCryptoMsgStart, |
derekjchow | 75e0f67 | 2015-04-18 08:52:42 +0900 | [diff] [blame] | 122 | CastChannelMsgStart, |
jeremyim | 1664d4a | 2015-03-04 03:49:43 +0900 | [diff] [blame] | 123 | DataReductionProxyStart, |
vabr | 1520fa1 | 2015-04-11 01:24:45 +0900 | [diff] [blame] | 124 | ContentSettingsMsgStart, |
benwells | b5bd86a | 2015-05-06 17:29:40 +0900 | [diff] [blame] | 125 | ChromeAppBannerMsgStart, |
eranm | 1f007c2 | 2015-06-03 17:38:13 +0900 | [diff] [blame] | 126 | SafeJsonParserMsgStart, |
erikchen | fdd43fe | 2015-07-08 07:13:11 +0900 | [diff] [blame] | 127 | AttachmentBrokerMsgStart, |
avi | 879c046 | 2015-09-15 04:04:12 +0900 | [diff] [blame] | 128 | RenderProcessMsgStart, |
csharrison | 0b41523 | 2015-09-22 07:05:29 +0900 | [diff] [blame] | 129 | PageLoadMetricsMsgStart, |
petrcermak | 5af4d87 | 2015-09-24 17:28:48 +0900 | [diff] [blame] | 130 | MemoryMsgStart, |
davve | 40f6f88 | 2015-12-11 21:05:22 +0900 | [diff] [blame] | 131 | MediaSessionMsgStart, |
erikchen | f29dc68 | 2015-09-26 03:30:03 +0900 | [diff] [blame] | 132 | IPCTestMsgStart, |
lhchavez | e415a7b | 2015-11-05 12:47:56 +0900 | [diff] [blame] | 133 | ArcInstanceMsgStart, |
| 134 | ArcInstanceHostMsgStart, |
wychen | 4cdcc1b | 2015-11-14 05:17:03 +0900 | [diff] [blame] | 135 | DistillerMsgStart, |
fdoray | 394c43c | 2015-11-17 05:44:23 +0900 | [diff] [blame] | 136 | StartupMetricMsgStart, |
henryhsu | 53ecf30 | 2015-12-15 15:17:05 +0900 | [diff] [blame] | 137 | ArcCameraMsgStart, |
kulshin | 11e05e6 | 2015-12-15 08:12:54 +0900 | [diff] [blame] | 138 | DWriteFontProxyMsgStart, |
dalecurtis | 5dd55fc | 2016-01-28 06:10:25 +0900 | [diff] [blame] | 139 | MediaPlayerDelegateMsgStart, |
watk | dfc4563 | 2016-02-18 11:22:19 +0900 | [diff] [blame] | 140 | SurfaceViewManagerMsgStart, |
alecflett@chromium.org | 974bc39 | 2013-09-22 01:12:49 +0900 | [diff] [blame] | 141 | LastIPCMsgStart // Must come last. |
tsepez@chromium.org | 4afe8f7 | 2012-10-24 08:03:35 +0900 | [diff] [blame] | 142 | }; |
| 143 | |
| 144 | #endif // IPC_IPC_MESSAGE_START_H_ |