• 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 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   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,
51   MIDIMsgStart,
52   ChromeMsgStart,
53   DragMsgStart,
54   PrintMsgStart,
55   SpellCheckMsgStart,
56   ExtensionMsgStart,
57   VideoCaptureMsgStart,
58   QuotaMsgStart,
59   ImageMsgStart,
60   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,
78   TracingMsgStart,
79   PeerConnectionTrackerMsgStart,
80   VisitedLinkMsgStart,
81   OneClickSigninMsgStart,
82   AppShimMsgStart,
83   ValidationMessageMsgStart,
84   WebRtcLoggingMsgStart,
85   TtsMsgStart,
86   MemoryBenchmarkMsgStart,
87   WebSocketMsgStart,
88   NaClHostMsgStart,
89   WebRTCIdentityMsgStart,
90   LocalDiscoveryMsgStart,
91   PowerMonitorMsgStart,
92   EncryptedMediaMsgStart,
93   ServiceWorkerMsgStart,
94   MessagePortMsgStart,
95   LastIPCMsgStart  // Must come last.
96 };
97 
98 #endif  // IPC_IPC_MESSAGE_START_H_
99