Avi Drissman | ea1be23 | 2022-09-14 23:29:06 | [diff] [blame] | 1 | // Copyright 2012 The Chromium Authors |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 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. | ||||
Tom Sepez | a1e8cdef | 2017-08-02 16:44:33 | [diff] [blame] | 11 | // |
12 | // You should no longer be adding any new message classes. Instead, use mojo | ||||
13 | // for all new work. | ||||
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 14 | enum IPCMessageStart { |
15 | AutomationMsgStart = 0, | ||||
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 16 | TestMsgStart, |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 17 | WorkerMsgStart, |
[email protected] | 336e4489 | 2013-09-21 16:12:49 | [diff] [blame] | 18 | LastIPCMsgStart // Must come last. |
[email protected] | f950981 | 2012-10-23 23:03:35 | [diff] [blame] | 19 | }; |
20 | |||||
21 | #endif // IPC_IPC_MESSAGE_START_H_ |