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 11 matching lines...) Expand all Loading... |
22 | 22 |
23 #include <math.h> | 23 #include <math.h> |
24 | 24 |
25 #include "base/trace_event/trace_event.h" | 25 #include "base/trace_event/trace_event.h" |
26 #include "mojo/public/cpp/bindings/lib/array_serialization.h" | 26 #include "mojo/public/cpp/bindings/lib/array_serialization.h" |
27 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h" | 27 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h" |
28 #include "mojo/public/cpp/bindings/lib/bounds_checker.h" | 28 #include "mojo/public/cpp/bindings/lib/bounds_checker.h" |
29 #include "mojo/public/cpp/bindings/lib/map_data_internal.h" | 29 #include "mojo/public/cpp/bindings/lib/map_data_internal.h" |
30 #include "mojo/public/cpp/bindings/lib/map_serialization.h" | 30 #include "mojo/public/cpp/bindings/lib/map_serialization.h" |
31 #include "mojo/public/cpp/bindings/lib/message_builder.h" | 31 #include "mojo/public/cpp/bindings/lib/message_builder.h" |
| 32 #include "mojo/public/cpp/bindings/lib/native_serialization.h" |
32 #include "mojo/public/cpp/bindings/lib/string_serialization.h" | 33 #include "mojo/public/cpp/bindings/lib/string_serialization.h" |
33 #include "mojo/public/cpp/bindings/lib/validate_params.h" | 34 #include "mojo/public/cpp/bindings/lib/validate_params.h" |
34 #include "mojo/public/cpp/bindings/lib/validation_errors.h" | 35 #include "mojo/public/cpp/bindings/lib/validation_errors.h" |
35 #include "mojo/public/cpp/bindings/lib/validation_util.h" | 36 #include "mojo/public/cpp/bindings/lib/validation_util.h" |
36 #include "mojo/public/cpp/environment/lib/scoped_task_tracking.h" | 37 #include "mojo/public/cpp/environment/lib/scoped_task_tracking.h" |
37 #include "mojo/public/cpp/environment/logging.h" | 38 #include "mojo/public/cpp/environment/logging.h" |
38 #include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h" | 39 #include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h" |
39 | 40 |
40 {%- for namespace in namespaces_as_array %} | 41 {%- for namespace in namespaces_as_array %} |
41 namespace {{namespace}} { | 42 namespace {{namespace}} { |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 {%- endif %} | 136 {%- endif %} |
136 {%- for namespace in namespaces_as_array|reverse %} | 137 {%- for namespace in namespaces_as_array|reverse %} |
137 } // namespace {{namespace}} | 138 } // namespace {{namespace}} |
138 {%- endfor %} | 139 {%- endfor %} |
139 | 140 |
140 #if defined(__clang__) | 141 #if defined(__clang__) |
141 #pragma clang diagnostic pop | 142 #pragma clang diagnostic pop |
142 #elif defined(_MSC_VER) | 143 #elif defined(_MSC_VER) |
143 #pragma warning(pop) | 144 #pragma warning(pop) |
144 #endif | 145 #endif |
OLD | NEW |