OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #if defined(__clang__) | 5 #if defined(__clang__) |
6 #pragma clang diagnostic push | 6 #pragma clang diagnostic push |
7 #pragma clang diagnostic ignored "-Wunused-private-field" | 7 #pragma clang diagnostic ignored "-Wunused-private-field" |
8 #endif | 8 #endif |
9 | 9 |
10 #include "{{module.path}}.h" | 10 #include "{{module.path}}.h" |
11 | 11 |
12 #include "mojo/public/bindings/lib/bindings_serialization.h" | 12 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h" |
13 #include "mojo/public/bindings/lib/message_builder.h" | 13 #include "mojo/public/cpp/bindings/lib/message_builder.h" |
14 | 14 |
15 namespace {{namespace}} { | 15 namespace {{namespace}} { |
16 namespace internal { | 16 namespace internal { |
17 namespace { | 17 namespace { |
18 | 18 |
19 #pragma pack(push, 1) | 19 #pragma pack(push, 1) |
20 | 20 |
21 {#--- Interface parameter definitions #} | 21 {#--- Interface parameter definitions #} |
22 {%- for interface in interfaces %} | 22 {%- for interface in interfaces %} |
23 {%- for method in interface.methods %} | 23 {%- for method in interface.methods %} |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 {#--- Interface definitions #} | 56 {#--- Interface definitions #} |
57 {%- for interface in interfaces %} | 57 {%- for interface in interfaces %} |
58 {%- include "interface_definition.tmpl" %} | 58 {%- include "interface_definition.tmpl" %} |
59 {%- endfor %} | 59 {%- endfor %} |
60 } // namespace {{namespace}} | 60 } // namespace {{namespace}} |
61 | 61 |
62 #if defined(__clang__) | 62 #if defined(__clang__) |
63 #pragma clang diagnostic pop | 63 #pragma clang diagnostic pop |
64 #endif | 64 #endif |
OLD | NEW |