summaryrefslogtreecommitdiff
path: root/chromium/ipc/ipc_message_start.h
blob: 325d4c83880e9baa1a40fa91197d5bc653a48208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef IPC_IPC_MESSAGE_START_H_
#define IPC_IPC_MESSAGE_START_H_

// Used by IPC_BEGIN_MESSAGES so that each message class starts from a unique
// base.  Messages have unique IDs across channels in order for the IPC logging
// code to figure out the message class from its ID.
//
// You should no longer be adding any new message classes. Instead, use mojo
// for all new work.
enum IPCMessageStart {
  AutomationMsgStart = 0,
  TestMsgStart,
  WorkerMsgStart,
  NaClMsgStart,
  PpapiMsgStart,
  ExtensionMsgStart,
  NaClHostMsgStart,
  EncryptedMediaMsgStart,
  GinJavaBridgeMsgStart,
  ExtensionWorkerMsgStart,
  LastIPCMsgStart  // Must come last.
};

#endif  // IPC_IPC_MESSAGE_START_H_