From 60f143931b79fd3fbcd28ad5125d0bfcce36c1ca Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Tue, 15 Dec 2009 20:46:32 +0000 Subject: Move the utility process messages to their own file now that we have more than 16 message types. BUG=none TEST=none Review URL: http://codereview.chromium.org/460119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34597 0039d316-1c4b-4281-b951-d872f2087c98 --- ipc/ipc_message_macros.h | 8 +++----- ipc/ipc_message_utils.h | 2 ++ 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'ipc') diff --git a/ipc/ipc_message_macros.h b/ipc/ipc_message_macros.h index f948791..6346e8c 100644 --- a/ipc/ipc_message_macros.h +++ b/ipc/ipc_message_macros.h @@ -137,11 +137,9 @@ #if defined(IPC_MESSAGE_MACROS_ENUMS) #undef IPC_MESSAGE_MACROS_ENUMS -// TODO(jabdelmalek): we're using the lowest 12 bits of type for the message -// id, and the highest 4 bits for the channel type. This constrains us to -// 16 channel types (currently using 8) and 4K messages per type. Should -// really make type be 32 bits, but then we break automation with older Chrome -// builds.. +// We're using the lowest 16 bits of type for the message id, and the highest +// 16 bits for the channel type. +// // Do label##PreStart so that automation messages keep the same id as before. #define IPC_BEGIN_MESSAGES(label) \ enum label##MsgType { \ diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h index e24f98c..165e7f9 100644 --- a/ipc/ipc_message_utils.h +++ b/ipc/ipc_message_utils.h @@ -46,6 +46,8 @@ enum IPCMessageStart { WorkerHostMsgStart, NaClProcessMsgStart, CommandBufferMsgStart, + UtilityMsgStart, + UtilityHostMsgStart, // NOTE: When you add a new message class, also update // IPCStatusView::IPCStatusView to ensure logging works. LastMsgIndex -- cgit v1.1