diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-08 23:34:16 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-08 23:34:16 +0000 |
commit | 21fa3a157739a857f1882072179f1bd3d978c368 (patch) | |
tree | 731cee107cd53590baf4f6f97e273d5378e03e7e /ipc/ipc_message_utils.h | |
parent | 6df403010254c73428c83e553654ce5dafa7dc00 (diff) | |
download | chromium_src-21fa3a157739a857f1882072179f1bd3d978c368.zip chromium_src-21fa3a157739a857f1882072179f1bd3d978c368.tar.gz chromium_src-21fa3a157739a857f1882072179f1bd3d978c368.tar.bz2 |
ipc: Simplify the magic required to create IPC message headers.This gets rid of having to include the files in a magic place because of xcode dependency issues, and just makes it simpler to create new IPC message classes. It also gets rid of including the X_messages_internal.h file multiple times, which simplifies things and should make the build a little faster.
In a future change, I will remove the "internal.h" files since they're no longer needed.
Review URL: http://codereview.chromium.org/5526008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message_utils.h')
-rw-r--r-- | ipc/ipc_message_utils.h | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h index 7d8cf4f..8e0f670 100644 --- a/ipc/ipc_message_utils.h +++ b/ipc/ipc_message_utils.h @@ -46,41 +46,19 @@ // base. Messages have unique IDs across channels in order for the IPC logging // code to figure out the message class from its ID. enum IPCMessageStart { - // By using a start value of 0 for automation messages, we keep backward - // compatibility with old builds. AutomationMsgStart = 0, ViewMsgStart, - ViewHostMsgStart, - PluginProcessMsgStart, - PluginProcessHostMsgStart, PluginMsgStart, - PluginHostMsgStart, - ProfileImportProcessMsgStart, - ProfileImportProcessHostMsgStart, - NPObjectMsgStart, + ProfileImportMsgStart, TestMsgStart, - DevToolsAgentMsgStart, - DevToolsClientMsgStart, - WorkerProcessMsgStart, - WorkerProcessHostMsgStart, + DevToolsMsgStart, WorkerMsgStart, - WorkerHostMsgStart, - NaClProcessMsgStart, - GpuCommandBufferMsgStart, + NaClMsgStart, UtilityMsgStart, - UtilityHostMsgStart, GpuMsgStart, - GpuHostMsgStart, - GpuChannelMsgStart, - GpuVideoDecoderHostMsgStart, - GpuVideoDecoderMsgStart, ServiceMsgStart, - ServiceHostMsgStart, PpapiMsgStart, - PpapiHostMsgStart, - // NOTE: When you add a new message class, also update - // IPCStatusView::IPCStatusView to ensure logging works. - LastMsgIndex + FirefoxImporterUnittestMsgStart, }; class DictionaryValue; |