diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-12 16:28:36 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-12 16:28:36 +0000 |
commit | d7a5e3e4302a31eca7e7bbc8fb61b5ec0fa9d5d9 (patch) | |
tree | aae51f588dc045640036558410f6e3e8746434ed /chrome | |
parent | 6033af3b77d7c40fcdb1c80ac77d4e49ba8236c3 (diff) | |
download | chromium_src-d7a5e3e4302a31eca7e7bbc8fb61b5ec0fa9d5d9.zip chromium_src-d7a5e3e4302a31eca7e7bbc8fb61b5ec0fa9d5d9.tar.gz chromium_src-d7a5e3e4302a31eca7e7bbc8fb61b5ec0fa9d5d9.tar.bz2 |
Change common_message_generator code block.
Makes namespace IPC {} more tightly wrapped around the inclusion of
the genertor header file.
Updates comments in ipc_message_macros to indicate this new style of block.
Makes message ID generation into a macro so can be re-used in forthcoming
ipclist CL. Simplfies the NULL macros.
Adds #pragma once to param traits, because we can.
Review URL: http://codereview.chromium.org/6683014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77943 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/common/common_message_generator.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/common/common_message_generator.cc b/chrome/common/common_message_generator.cc index e349e3b..6b822ec 100644 --- a/chrome/common/common_message_generator.cc +++ b/chrome/common/common_message_generator.cc @@ -15,19 +15,21 @@ #include "ipc/struct_destructor_macros.h" #include "chrome/common/common_message_generator.h" -namespace IPC { - // Generate param traits write methods. #include "ipc/param_traits_write_macros.h" +namespace IPC { #include "chrome/common/common_message_generator.h" +} // namespace IPC // Generate param traits read methods. #include "ipc/param_traits_read_macros.h" +namespace IPC { #include "chrome/common/common_message_generator.h" +} // namespace IPC // Generate param traits log methods. #include "ipc/param_traits_log_macros.h" +namespace IPC { #include "chrome/common/common_message_generator.h" - } // namespace IPC |