Chromium Code Reviews| Index: components/printing/common/print_messages.cc |
| diff --git a/components/printing/common/print_messages.cc b/components/printing/common/print_messages.cc |
| index 3a5cddded102749d22f36d730bda39e1a369b0d1..349cb511f11b5fcd484ffa49ef544df7f54bc505 100644 |
| --- a/components/printing/common/print_messages.cc |
| +++ b/components/printing/common/print_messages.cc |
| @@ -2,7 +2,36 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| +//#include "components/printing/common/print_messages.h" |
|
Bernhard Bauer
2015/01/22 09:30:12
Nit: remove this comment.
dgn
2015/01/22 14:27:14
Done.
|
| + |
| +#define IPC_MESSAGE_IMPL |
|
Bernhard Bauer
2015/01/22 09:30:12
Nit: I think I would move the generators to the bo
dgn
2015/01/22 14:27:14
Done.
Both styles seem to be used (https://code.
|
| +#include "components/printing/common/print_messages.h" |
| + |
| +// Generate constructors. |
| +#include "ipc/struct_constructor_macros.h" |
| +#include "components/printing/common/print_messages.h" |
| + |
| +// Generate destructors. |
| +#include "ipc/struct_destructor_macros.h" |
| +#include "components/printing/common/print_messages.h" |
| + |
| +// Generate param traits write methods. |
| +#include "ipc/param_traits_write_macros.h" |
| +namespace IPC { |
| +#include "components/printing/common/print_messages.h" |
| +} // namespace IPC |
| + |
| +// Generate param traits read methods. |
| +#include "ipc/param_traits_read_macros.h" |
| +namespace IPC { |
| +#include "components/printing/common/print_messages.h" |
| +} // namespace IPC |
| + |
| +// Generate param traits log methods. |
| +#include "ipc/param_traits_log_macros.h" |
| +namespace IPC { |
| #include "components/printing/common/print_messages.h" |
| +} // namespace IPC |
| #include "base/basictypes.h" |
| #include "base/strings/string16.h" |