| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 {%- else %} | 62 {%- else %} |
| 63 #include "{{import.module.path}}.h" | 63 #include "{{import.module.path}}.h" |
| 64 {%- endif %} | 64 {%- endif %} |
| 65 {%- endfor %} | 65 {%- endfor %} |
| 66 {%- if not for_blink %} | 66 {%- if not for_blink %} |
| 67 #include "mojo/public/cpp/bindings/array.h" | 67 #include "mojo/public/cpp/bindings/array.h" |
| 68 #include "mojo/public/cpp/bindings/string.h" | 68 #include "mojo/public/cpp/bindings/string.h" |
| 69 {%- else %} | 69 {%- else %} |
| 70 #include "mojo/public/cpp/bindings/wtf_array.h" | 70 #include "mojo/public/cpp/bindings/wtf_array.h" |
| 71 #include "mojo/public/cpp/bindings/wtf_map.h" | 71 #include "mojo/public/cpp/bindings/wtf_map.h" |
| 72 #include "third_party/WebKit/Source/wtf/HashFunctions.h" |
| 72 #include "third_party/WebKit/Source/wtf/Optional.h" | 73 #include "third_party/WebKit/Source/wtf/Optional.h" |
| 73 #include "third_party/WebKit/Source/wtf/text/WTFString.h" | 74 #include "third_party/WebKit/Source/wtf/text/WTFString.h" |
| 74 {%- endif %} | 75 {%- endif %} |
| 75 | 76 |
| 76 {%- for header in extra_public_headers %} | 77 {%- for header in extra_public_headers %} |
| 77 #include "{{header}}" | 78 #include "{{header}}" |
| 78 {%- endfor %} | 79 {%- endfor %} |
| 79 | 80 |
| 80 {%- if export_header %} | 81 {%- if export_header %} |
| 81 #include "{{export_header}}" | 82 #include "{{export_header}}" |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 {#--- Union Serialization Helpers -#} | 214 {#--- Union Serialization Helpers -#} |
| 214 {% if unions %} | 215 {% if unions %} |
| 215 {%- for union in unions %} | 216 {%- for union in unions %} |
| 216 {% include "union_traits_declaration.tmpl" %} | 217 {% include "union_traits_declaration.tmpl" %} |
| 217 {%- endfor %} | 218 {%- endfor %} |
| 218 {%- endif %} | 219 {%- endif %} |
| 219 | 220 |
| 220 } // namespace mojo | 221 } // namespace mojo |
| 221 | 222 |
| 222 #endif // {{header_guard}} | 223 #endif // {{header_guard}} |
| OLD | NEW |