OLD | NEW |
1 // This file is generated from {{input_file}} | 1 // This file is generated from {{input_file}} |
2 | 2 |
3 // Copyright 2017 The Chromium Authors. All rights reserved. | 3 // Copyright 2017 The Chromium Authors. All rights reserved. |
4 // Use of this source code is governed by a BSD-style license that can be | 4 // Use of this source code is governed by a BSD-style license that can be |
5 // found in the LICENSE file. | 5 // found in the LICENSE file. |
6 | 6 |
7 #ifndef {{file.header_name}}_h | 7 #ifndef {{file.header_name}}_h |
8 #define {{file.header_name}}_h | 8 #define {{file.header_name}}_h |
9 | 9 |
10 #include "platform/heap/HeapAllocator.h" | 10 #include "platform/heap/HeapAllocator.h" |
11 {% for include in file.includes %} | 11 {% for include in config["settings"]["includes"] %} |
12 {{include}} | 12 #include "{{include}}" |
13 {% endfor %} | 13 {% endfor %} |
14 | 14 |
15 {% set export_symbol = config["settings"]["export_symbol"] %} | 15 {% set export_symbol = config["settings"]["export_symbol"] %} |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 | 18 |
19 {% for forward_decl in file.forward_declarations %} | 19 {% for forward_decl in file.forward_declarations %} |
20 {{forward_decl}} | 20 {{forward_decl}} |
21 {% endfor %} | 21 {% endfor %} |
22 | 22 |
(...skipping 26 matching lines...) Expand all Loading... |
49 {{export_symbol}} void {{probe.name}}({{ params_decl(probe) }}); | 49 {{export_symbol}} void {{probe.name}}({{ params_decl(probe) }}); |
50 | 50 |
51 {%- endif %} | 51 {%- endif %} |
52 {%- endfor %} | 52 {%- endfor %} |
53 | 53 |
54 | 54 |
55 } // namespace probe | 55 } // namespace probe |
56 } // namespace blink | 56 } // namespace blink |
57 | 57 |
58 #endif // !defined({{file.header_name}}_h) | 58 #endif // !defined({{file.header_name}}_h) |
OLD | NEW |