• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 //
12 // You should no longer be adding any new message classes. Instead, use mojo
13 // for all new work.
14 enum IPCMessageStart {
15   AutomationMsgStart = 0,
16   FrameMsgStart,
17   PageMsgStart,
18   ViewMsgStart,
19   InputMsgStart,
20   TestMsgStart,
21   WorkerMsgStart,
22   NaClMsgStart,
23   GpuChannelMsgStart,
24   MediaMsgStart,
25   PpapiMsgStart,
26   DOMStorageMsgStart,
27   P2PMsgStart,
28   ResourceMsgStart,
29   FileSystemMsgStart,
30   BlobMsgStart,
31   MidiMsgStart,
32   ChromeMsgStart,
33   DragMsgStart,
34   PrintMsgStart,
35   ExtensionMsgStart,
36   TextInputClientMsgStart,
37   JavaBridgeMsgStart,
38   ShellMsgStart,
39   AccessibilityMsgStart,
40   PrerenderMsgStart,
41   ChromotingMsgStart,
42   BrowserPluginMsgStart,
43   AndroidWebViewMsgStart,
44   MediaPlayerMsgStart,
45   TracingMsgStart,
46   PeerConnectionTrackerMsgStart,
47   AppShimMsgStart,
48   WebRtcLoggingMsgStart,
49   TtsMsgStart,
50   NaClHostMsgStart,
51   EncryptedMediaMsgStart,
52   ServiceWorkerMsgStart,
53   CastMsgStart,
54   ChromeExtensionMsgStart,
55   GinJavaBridgeMsgStart,
56   ChromeUtilityPrintingMsgStart,
57   AecDumpMsgStart,
58   OzoneGpuMsgStart,
59   LayoutTestMsgStart,
60   NetworkHintsMsgStart,
61   CastMediaMsgStart,
62   SyncCompositorMsgStart,
63   ExtensionsGuestViewMsgStart,
64   GuestViewMsgStart,
65   // Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast
66   // internal code. Contact gunsch@ before changing/removing.
67   CastCryptoMsgStart,
68   CastChannelMsgStart,
69   IPCTestMsgStart,
70   MediaPlayerDelegateMsgStart,
71   SurfaceViewManagerMsgStart,
72   ExtensionWorkerMsgStart,
73   SubresourceFilterMsgStart,
74   LastIPCMsgStart  // Must come last.
75 };
76 
77 #endif  // IPC_IPC_MESSAGE_START_H_
78