| OLD | NEW |
| 1 // Copyright $YEAR The Chromium Authors. All rights reserved. | 1 // Copyright $YEAR The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "$HEADER" | 5 #include "$HEADER" |
| 6 | 6 |
| 7 #include "mojo/public/bindings/lib/message_builder.h" | 7 #include "mojo/public/bindings/lib/message_builder.h" |
| 8 #include "$INTERNAL_HEADER" | 8 #include "$INTERNAL_HEADER" |
| 9 | 9 |
| 10 namespace sample { | 10 namespace $NAMESPACE { |
| 11 namespace { | 11 namespace { |
| 12 | 12 |
| 13 #pragma pack(push, 1) | 13 #pragma pack(push, 1) |
| 14 #if defined(__clang__) | 14 #if defined(__clang__) |
| 15 #pragma clang diagnostic push | 15 #pragma clang diagnostic push |
| 16 #pragma clang diagnostic ignored "-Wunused-private-field" | 16 #pragma clang diagnostic ignored "-Wunused-private-field" |
| 17 #endif | 17 #endif |
| 18 $PARAM_DEFINITIONS | 18 $PARAM_DEFINITIONS |
| 19 #if defined(__clang__) | 19 #if defined(__clang__) |
| 20 #pragma clang diagnostic pop | 20 #pragma clang diagnostic pop |
| 21 #endif | 21 #endif |
| 22 #pragma pack(pop) | 22 #pragma pack(pop) |
| 23 | 23 |
| 24 } // namespace | 24 } // namespace |
| 25 | 25 |
| 26 $STRUCT_DEFINITIONS | 26 $STRUCT_DEFINITIONS |
| 27 | 27 |
| 28 $INTERFACE_DEFINITIONS | 28 $INTERFACE_DEFINITIONS |
| 29 } // namespace sample | 29 } // namespace $NAMESPACE |
| 30 | 30 |
| 31 namespace mojo { | 31 namespace mojo { |
| 32 namespace internal { | 32 namespace internal { |
| 33 | 33 |
| 34 $STRUCT_SERIALIZATION_DEFINITIONS | 34 $STRUCT_SERIALIZATION_DEFINITIONS |
| 35 | 35 |
| 36 $INTERFACE_SERIALIZATION_DEFINITIONS | 36 $INTERFACE_SERIALIZATION_DEFINITIONS |
| 37 | 37 |
| 38 } // namespace internal | 38 } // namespace internal |
| 39 } // namespace mojo | 39 } // namespace mojo |
| OLD | NEW |