xref: /aosp_15_r20/external/cronet/ipc/ipc_message_start.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2012 The Chromium Authors
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   TestMsgStart,
17   WorkerMsgStart,
18   NaClMsgStart,
19   PpapiMsgStart,
20   NaClHostMsgStart,
21   GinJavaBridgeMsgStart,
22   LastIPCMsgStart  // Must come last.
23 };
24 
25 #endif  // IPC_IPC_MESSAGE_START_H_
26