blob: 2ebc24fcf9907951ea1240c65ce01c1bdfea11ed [file] [log] [blame]
[email protected]f9509812012-10-23 23:03:351// 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.
11enum IPCMessageStart {
12 AutomationMsgStart = 0,
[email protected]9b159a52013-10-03 17:24:5513 FrameMsgStart,
[email protected]f9509812012-10-23 23:03:3514 ViewMsgStart,
[email protected]c084330e02013-04-27 01:08:1515 InputMsgStart,
[email protected]f9509812012-10-23 23:03:3516 PluginMsgStart,
[email protected]872f3a92013-05-21 08:16:0817 PluginProcessMsgStart,
[email protected]f9509812012-10-23 23:03:3518 ProfileImportMsgStart,
19 TestMsgStart,
20 DevToolsMsgStart,
21 WorkerMsgStart,
22 NaClMsgStart,
23 UtilityMsgStart,
24 GpuMsgStart,
25 ServiceMsgStart,
26 PpapiMsgStart,
27 FirefoxImporterUnittestMsgStart,
28 FileUtilitiesMsgStart,
29 MimeRegistryMsgStart,
30 DatabaseMsgStart,
31 DOMStorageMsgStart,
32 IndexedDBMsgStart,
33 PepperFileMsgStart,
34 SpeechRecognitionMsgStart,
35 PepperMsgStart,
36 AutofillMsgStart,
37 SafeBrowsingMsgStart,
38 P2PMsgStart,
39 SocketStreamMsgStart,
40 ResourceMsgStart,
41 FileSystemMsgStart,
42 ChildProcessMsgStart,
43 ClipboardMsgStart,
44 BlobMsgStart,
45 AppCacheMsgStart,
46 DeviceMotionMsgStart,
47 DeviceOrientationMsgStart,
48 DesktopNotificationMsgStart,
49 GeolocationMsgStart,
50 AudioMsgStart,
[email protected]6e068ea2014-02-04 07:05:4751 MidiMsgStart,
[email protected]f9509812012-10-23 23:03:3552 ChromeMsgStart,
53 DragMsgStart,
54 PrintMsgStart,
55 SpellCheckMsgStart,
56 ExtensionMsgStart,
57 VideoCaptureMsgStart,
58 QuotaMsgStart,
[email protected]41225fe2013-03-29 05:32:0259 ImageMsgStart,
[email protected]f9509812012-10-23 23:03:3560 TextInputClientMsgStart,
61 ChromeUtilityMsgStart,
62 MediaStreamMsgStart,
63 ChromeBenchmarkingMsgStart,
64 IntentsMsgStart,
65 JavaBridgeMsgStart,
66 GamepadMsgStart,
67 ShellMsgStart,
68 AccessibilityMsgStart,
69 PrerenderMsgStart,
70 ChromotingMsgStart,
71 OldBrowserPluginMsgStart,
72 BrowserPluginMsgStart,
73 HyphenatorMsgStart,
74 AndroidWebViewMsgStart,
75 MetroViewerMsgStart,
76 CCMsgStart,
77 MediaPlayerMsgStart,
[email protected]92fe6102012-12-08 01:55:0778 TracingMsgStart,
[email protected]af089972013-01-10 04:04:4079 PeerConnectionTrackerMsgStart,
[email protected]1f371fa2013-01-23 00:35:1480 VisitedLinkMsgStart,
[email protected]b6b15bcc2013-02-01 05:34:2581 OneClickSigninMsgStart,
[email protected]acd2121c2013-03-18 05:54:5082 AppShimMsgStart,
[email protected]1352ca92013-04-30 02:30:2783 ValidationMessageMsgStart,
[email protected]fc8638a2013-04-18 09:17:0284 WebRtcLoggingMsgStart,
[email protected]7a06d282013-05-03 04:39:3385 TtsMsgStart,
[email protected]a70ed8b32013-05-24 15:16:3486 MemoryBenchmarkMsgStart,
[email protected]e83ab822013-06-11 17:16:2287 WebSocketMsgStart,
[email protected]01e59752013-06-18 00:17:3588 NaClHostMsgStart,
[email protected]d3220662013-07-01 21:21:4689 WebRTCIdentityMsgStart,
[email protected]686e985e2013-07-18 22:04:5690 LocalDiscoveryMsgStart,
[email protected]9dd90152013-08-02 22:09:1391 PowerMonitorMsgStart,
[email protected]2b12c322013-09-19 06:53:5692 EncryptedMediaMsgStart,
[email protected]336e44892013-09-21 16:12:4993 ServiceWorkerMsgStart,
[email protected]83fc55e42013-10-15 10:57:4994 MessagePortMsgStart,
[email protected]44042882014-01-09 12:42:4595 EmbeddedWorkerMsgStart,
[email protected]ddbb53342014-01-06 10:59:4796 EmbeddedWorkerContextMsgStart,
[email protected]336e44892013-09-21 16:12:4997 LastIPCMsgStart // Must come last.
[email protected]f9509812012-10-23 23:03:3598};
99
100#endif // IPC_IPC_MESSAGE_START_H_