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 variant -%} | 5 {%- if variant -%} |
6 {%- set variant_path = "%s-%s"|format(module.path, variant) -%} | 6 {%- set variant_path = "%s-%s"|format(module.path, variant) -%} |
7 {%- else -%} | 7 {%- else -%} |
8 {%- set variant_path = module.path -%} | 8 {%- set variant_path = module.path -%} |
9 {%- endif -%} | 9 {%- endif -%} |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #include "mojo/public/cpp/bindings/associated_interface_request.h" | 45 #include "mojo/public/cpp/bindings/associated_interface_request.h" |
46 #include "mojo/public/cpp/bindings/interface_ptr.h" | 46 #include "mojo/public/cpp/bindings/interface_ptr.h" |
47 #include "mojo/public/cpp/bindings/interface_request.h" | 47 #include "mojo/public/cpp/bindings/interface_request.h" |
48 #include "mojo/public/cpp/bindings/lib/control_message_handler.h" | 48 #include "mojo/public/cpp/bindings/lib/control_message_handler.h" |
49 #include "mojo/public/cpp/bindings/lib/control_message_proxy.h" | 49 #include "mojo/public/cpp/bindings/lib/control_message_proxy.h" |
50 #include "mojo/public/cpp/bindings/lib/serialization.h" | 50 #include "mojo/public/cpp/bindings/lib/serialization.h" |
51 #include "mojo/public/cpp/bindings/lib/union_accessor.h" | 51 #include "mojo/public/cpp/bindings/lib/union_accessor.h" |
52 #include "mojo/public/cpp/bindings/map.h" | 52 #include "mojo/public/cpp/bindings/map.h" |
53 #include "mojo/public/cpp/bindings/native_struct.h" | 53 #include "mojo/public/cpp/bindings/native_struct.h" |
54 #include "mojo/public/cpp/bindings/no_interface.h" | 54 #include "mojo/public/cpp/bindings/no_interface.h" |
| 55 #include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h" |
55 #include "mojo/public/cpp/bindings/struct_ptr.h" | 56 #include "mojo/public/cpp/bindings/struct_ptr.h" |
56 #include "mojo/public/cpp/bindings/struct_traits.h" | 57 #include "mojo/public/cpp/bindings/struct_traits.h" |
57 #include "mojo/public/cpp/bindings/union_traits.h" | 58 #include "mojo/public/cpp/bindings/union_traits.h" |
58 #include "{{module.path}}-shared.h" | 59 #include "{{module.path}}-shared.h" |
59 {%- for import in imports %} | 60 {%- for import in imports %} |
60 {%- if variant %} | 61 {%- if variant %} |
61 #include "{{"%s-%s.h"|format(import.module.path, variant)}}" | 62 #include "{{"%s-%s.h"|format(import.module.path, variant)}}" |
62 {%- else %} | 63 {%- else %} |
63 #include "{{import.module.path}}.h" | 64 #include "{{import.module.path}}.h" |
64 {%- endif %} | 65 {%- endif %} |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 {#--- Union Serialization Helpers -#} | 218 {#--- Union Serialization Helpers -#} |
218 {% if unions %} | 219 {% if unions %} |
219 {%- for union in unions %} | 220 {%- for union in unions %} |
220 {% include "union_traits_declaration.tmpl" %} | 221 {% include "union_traits_declaration.tmpl" %} |
221 {%- endfor %} | 222 {%- endfor %} |
222 {%- endif %} | 223 {%- endif %} |
223 | 224 |
224 } // namespace mojo | 225 } // namespace mojo |
225 | 226 |
226 #endif // {{header_guard}} | 227 #endif // {{header_guard}} |
OLD | NEW |