Home | History | Annotate | Download | only in ipc
      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   PrefetchMsgStart,
     70   PrerenderMsgStart,
     71   ChromotingMsgStart,
     72   OldBrowserPluginMsgStart,
     73   BrowserPluginMsgStart,
     74   HyphenatorMsgStart,
     75   AndroidWebViewMsgStart,
     76   MetroViewerMsgStart,
     77   CCMsgStart,
     78   MediaPlayerMsgStart,
     79   TracingMsgStart,
     80   PeerConnectionTrackerMsgStart,
     81   VisitedLinkMsgStart,
     82   OneClickSigninMsgStart,
     83   AppShimMsgStart,
     84   ValidationMessageMsgStart,
     85   WebRtcLoggingMsgStart,
     86   TtsMsgStart,
     87   MemoryBenchmarkMsgStart,
     88   WebSocketMsgStart,
     89   NaClHostMsgStart,
     90   WebRTCIdentityMsgStart,
     91   LocalDiscoveryMsgStart,
     92   PowerMonitorMsgStart,
     93   EncryptedMediaMsgStart,
     94   ServiceWorkerMsgStart,
     95   MessagePortMsgStart,
     96   EmbeddedWorkerMsgStart,
     97   EmbeddedWorkerContextMsgStart,
     98   CastMsgStart,
     99   CdmMsgStart,
    100   ScreenOrientationMsgStart,
    101   MediaStreamTrackMetricsHostMsgStart,
    102   ChromeExtensionMsgStart,
    103   MojoMsgStart,
    104   TranslateMsgStart,
    105   PushMessagingMsgStart,
    106   GinJavaBridgeMsgStart,
    107   BatteryStatusMsgStart,
    108   UtilityPrintingMsgStart,
    109   AecDumpMsgStart,
    110   LastIPCMsgStart  // Must come last.
    111 };
    112 
    113 #endif  // IPC_IPC_MESSAGE_START_H_
    114