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 {%- set header_guard = "%s_H_"| | 5 {%- set header_guard = "%s_H_"| |
6 format(module.path|upper|replace("/","_")|replace(".","_")) %} | 6 format(module.path|upper|replace("/","_")|replace(".","_")) %} |
7 | 7 |
8 #ifndef {{header_guard}} | 8 #ifndef {{header_guard}} |
9 #define {{header_guard}} | 9 #define {{header_guard}} |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 {#--- Interface Stubs -#} | 43 {#--- Interface Stubs -#} |
44 {% for interface in interfaces %} | 44 {% for interface in interfaces %} |
45 {% include "interface_stub_declaration.tmpl" %} | 45 {% include "interface_stub_declaration.tmpl" %} |
46 {%- endfor %} | 46 {%- endfor %} |
47 | 47 |
48 {%- if namespace %} | 48 {%- if namespace %} |
49 } // namespace {{namespace}} | 49 } // namespace {{namespace}} |
50 {%- endif %} | 50 {%- endif %} |
51 | 51 |
52 #endif // {{header_guard}} | 52 #endif // {{header_guard}} |
OLD | NEW |