ipc: Convert k(u)int*max types from basictypes.h to std::numeric_limits variants.
[chromium-blink-merge.git] / ipc / ipc_message_start.h
blobf5538a91954fb0ab39e62bcf0f8e8a9d695045d6
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 TextInputClientMsgStart,
57 ChromeUtilityMsgStart,
58 MediaStreamMsgStart,
59 ChromeBenchmarkingMsgStart,
60 JavaBridgeMsgStart,
61 GamepadMsgStart,
62 ShellMsgStart,
63 AccessibilityMsgStart,
64 PrefetchMsgStart,
65 PrerenderMsgStart,
66 ChromotingMsgStart,
67 BrowserPluginMsgStart,
68 AndroidWebViewMsgStart,
69 MetroViewerMsgStart,
70 CCMsgStart,
71 MediaPlayerMsgStart,
72 TracingMsgStart,
73 PeerConnectionTrackerMsgStart,
74 VisitedLinkMsgStart,
75 AppShimMsgStart,
76 WebRtcLoggingMsgStart,
77 TtsMsgStart,
78 MemoryBenchmarkMsgStart,
79 WebSocketMsgStart,
80 NaClHostMsgStart,
81 WebRTCIdentityMsgStart,
82 LocalDiscoveryMsgStart,
83 PowerMonitorMsgStart,
84 EncryptedMediaMsgStart,
85 CacheStorageMsgStart,
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 NetworkHintsMsgStart,
113 BluetoothMsgStart,
114 CastMediaMsgStart,
115 AwMessagePortMsgStart,
116 ExtensionsGuestViewMsgStart,
117 GuestViewMsgStart,
118 // Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast
119 // internal code. Contact gunsch@ before changing/removing.
120 CastCryptoMsgStart,
121 CastChannelMsgStart,
122 DataReductionProxyStart,
123 ContentSettingsMsgStart,
124 ChromeAppBannerMsgStart,
125 SafeJsonParserMsgStart,
126 AttachmentBrokerMsgStart,
127 LastIPCMsgStart // Must come last.
130 #endif // IPC_IPC_MESSAGE_START_H_