| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 #include "{{import.module.path}}.h" | 64 #include "{{import.module.path}}.h" |
| 65 {%- endif %} | 65 {%- endif %} |
| 66 {%- endfor %} | 66 {%- endfor %} |
| 67 {%- if not for_blink %} | 67 {%- if not for_blink %} |
| 68 #include <string> | 68 #include <string> |
| 69 #include "mojo/public/cpp/bindings/array.h" | 69 #include "mojo/public/cpp/bindings/array.h" |
| 70 {%- else %} | 70 {%- else %} |
| 71 {# hash_util.h includes template specializations that should be present for | 71 {# hash_util.h includes template specializations that should be present for |
| 72 every use of {Inlined}StructPtr. #} | 72 every use of {Inlined}StructPtr. #} |
| 73 #include "mojo/public/cpp/bindings/lib/wtf_hash_util.h" | 73 #include "mojo/public/cpp/bindings/lib/wtf_hash_util.h" |
| 74 #include "mojo/public/cpp/bindings/wtf_array.h" | |
| 75 #include "third_party/WebKit/Source/wtf/HashFunctions.h" | 74 #include "third_party/WebKit/Source/wtf/HashFunctions.h" |
| 76 #include "third_party/WebKit/Source/wtf/Optional.h" | 75 #include "third_party/WebKit/Source/wtf/Optional.h" |
| 77 #include "third_party/WebKit/Source/wtf/text/WTFString.h" | 76 #include "third_party/WebKit/Source/wtf/text/WTFString.h" |
| 78 {%- endif %} | 77 {%- endif %} |
| 79 | 78 |
| 80 {%- for header in extra_public_headers %} | 79 {%- for header in extra_public_headers %} |
| 81 #include "{{header}}" | 80 #include "{{header}}" |
| 82 {%- endfor %} | 81 {%- endfor %} |
| 83 | 82 |
| 84 {%- if export_header %} | 83 {%- if export_header %} |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 {#--- Union Serialization Helpers -#} | 220 {#--- Union Serialization Helpers -#} |
| 222 {% if unions %} | 221 {% if unions %} |
| 223 {%- for union in unions %} | 222 {%- for union in unions %} |
| 224 {% include "union_traits_declaration.tmpl" %} | 223 {% include "union_traits_declaration.tmpl" %} |
| 225 {%- endfor %} | 224 {%- endfor %} |
| 226 {%- endif %} | 225 {%- endif %} |
| 227 | 226 |
| 228 } // namespace mojo | 227 } // namespace mojo |
| 229 | 228 |
| 230 #endif // {{header_guard}} | 229 #endif // {{header_guard}} |
| OLD | NEW |