ipc_message_start.h 880 B

1234567891011121314151617181920212223242526272829
  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. #ifndef IPC_IPC_MESSAGE_START_H_
  5. #define IPC_IPC_MESSAGE_START_H_
  6. // Used by IPC_BEGIN_MESSAGES so that each message class starts from a unique
  7. // base. Messages have unique IDs across channels in order for the IPC logging
  8. // code to figure out the message class from its ID.
  9. //
  10. // You should no longer be adding any new message classes. Instead, use mojo
  11. // for all new work.
  12. enum IPCMessageStart {
  13. AutomationMsgStart = 0,
  14. TestMsgStart,
  15. WorkerMsgStart,
  16. NaClMsgStart,
  17. PpapiMsgStart,
  18. ExtensionMsgStart,
  19. ChromotingMsgStart,
  20. NaClHostMsgStart,
  21. EncryptedMediaMsgStart,
  22. GinJavaBridgeMsgStart,
  23. ExtensionWorkerMsgStart,
  24. LastIPCMsgStart // Must come last.
  25. };
  26. #endif // IPC_IPC_MESSAGE_START_H_