diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-21 17:35:08 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-21 17:35:08 +0000 |
commit | 3b3ec721627391f78747d19bd3cc87792e0210a8 (patch) | |
tree | 63db7ee2728988eaf7f445417276daa22aab23f9 /ipc | |
parent | 78e7603d28966adf4d1305e00cdc27ef07ebcc3b (diff) | |
download | chromium_src-3b3ec721627391f78747d19bd3cc87792e0210a8.zip chromium_src-3b3ec721627391f78747d19bd3cc87792e0210a8.tar.gz chromium_src-3b3ec721627391f78747d19bd3cc87792e0210a8.tar.bz2 |
Update automation messages to use the new way of declaring message structs, to cut back on unnecessary code.
Review URL: http://codereview.chromium.org/8356020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106734 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_message_macros.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ipc/ipc_message_macros.h b/ipc/ipc_message_macros.h index 7941f43..47d7407 100644 --- a/ipc/ipc_message_macros.h +++ b/ipc/ipc_message_macros.h @@ -900,9 +900,7 @@ LogFunctionMap g_log_function_mapping; // Message IDs // Note: we currently use __LINE__ to give unique IDs to messages within // a file. They're globally unique since each file defines its own -// IPC_MESSAGE_START. Ideally, we wouldn't use line numbers (a possibility -// is to instead use the __COUNTER__ macro, but it needs gcc 4.3 and xcode -// doesn't use it yet). +// IPC_MESSAGE_START. #define IPC_MESSAGE_ID() ((IPC_MESSAGE_START << 16) + __LINE__) #define IPC_MESSAGE_ID_CLASS(id) ((id) >> 16) #define IPC_MESSAGE_ID_LINE(id) ((id) & 0xffff) |