Remove unncessary type cast
[chromium-blink-merge.git] / ipc / ipc_message_start.h
blobb22c7b39c46df25c0ec2ef651fe71d7ee4f52cb1
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.
5 #ifndef IPC_IPC_MESSAGE_START_H_
6 #define IPC_IPC_MESSAGE_START_H_
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,
13 FrameMsgStart,
14 ViewMsgStart,
15 InputMsgStart,
16 PluginMsgStart,
17 PluginProcessMsgStart,
18 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 SpeechRecognitionMsgStart,
34 PepperMsgStart,
35 AutofillMsgStart,
36 SafeBrowsingMsgStart,
37 P2PMsgStart,
38 ResourceMsgStart,
39 FileSystemMsgStart,
40 ChildProcessMsgStart,
41 ClipboardMsgStart,
42 BlobMsgStart,
43 AppCacheMsgStart,
44 DeviceLightMsgStart,
45 DeviceMotionMsgStart,
46 DeviceOrientationMsgStart,
47 AudioMsgStart,
48 MidiMsgStart,
49 ChromeMsgStart,
50 DragMsgStart,
51 PrintMsgStart,
52 SpellCheckMsgStart,
53 ExtensionMsgStart,
54 VideoCaptureMsgStart,
55 QuotaMsgStart,
56 ImageMsgStart,
57 TextInputClientMsgStart,
58 ChromeUtilityMsgStart,
59 MediaStreamMsgStart,
60 ChromeBenchmarkingMsgStart,
61 JavaBridgeMsgStart,
62 GamepadMsgStart,
63 ShellMsgStart,
64 AccessibilityMsgStart,
65 PrefetchMsgStart,
66 PrerenderMsgStart,
67 ChromotingMsgStart,
68 BrowserPluginMsgStart,
69 AndroidWebViewMsgStart,
70 MetroViewerMsgStart,
71 CCMsgStart,
72 MediaPlayerMsgStart,
73 TracingMsgStart,
74 PeerConnectionTrackerMsgStart,
75 VisitedLinkMsgStart,
76 AppShimMsgStart,
77 WebRtcLoggingMsgStart,
78 TtsMsgStart,
79 MemoryBenchmarkMsgStart,
80 WebSocketMsgStart,
81 NaClHostMsgStart,
82 WebRTCIdentityMsgStart,
83 LocalDiscoveryMsgStart,
84 PowerMonitorMsgStart,
85 EncryptedMediaMsgStart,
86 ServiceWorkerMsgStart,
87 MessagePortMsgStart,
88 EmbeddedWorkerMsgStart,
89 EmbeddedWorkerContextMsgStart,
90 CastMsgStart,
91 CdmMsgStart,
92 ScreenOrientationMsgStart,
93 MediaStreamTrackMetricsHostMsgStart,
94 ChromeExtensionMsgStart,
95 MojoMsgStart,
96 TranslateMsgStart,
97 CldDataProviderMsgStart,
98 PushMessagingMsgStart,
99 GinJavaBridgeMsgStart,
100 ChromeUtilityPrintingMsgStart,
101 AecDumpMsgStart,
102 OzoneGpuMsgStart,
103 ChromeUtilityExtensionsMsgStart,
104 PlatformNotificationMsgStart,
105 CredentialManagerMsgStart,
106 PDFMsgStart,
107 WebCacheMsgStart,
108 ManifestManagerMsgStart,
109 ExtensionUtilityMsgStart,
110 GeofencingMsgStart,
111 LayoutTestMsgStart,
112 DnsPrefetchMsgStart,
113 BluetoothMsgStart,
114 NavigatorConnectMsgStart,
115 CastMediaMsgStart,
116 LastIPCMsgStart // Must come last.
119 #endif // IPC_IPC_MESSAGE_START_H_