Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl

Issue 2608503002: Remove mojo::WTFMap. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/public/cpp/bindings/wtf_map.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 {%- endif %} 66 {%- endif %}
67 {%- endfor %} 67 {%- endfor %}
68 {%- if not for_blink %} 68 {%- if not for_blink %}
69 #include "mojo/public/cpp/bindings/array.h" 69 #include "mojo/public/cpp/bindings/array.h"
70 #include "mojo/public/cpp/bindings/string.h" 70 #include "mojo/public/cpp/bindings/string.h"
71 {%- else %} 71 {%- else %}
72 {# hash_util.h includes template specializations that should be present for 72 {# hash_util.h includes template specializations that should be present for
73 every use of {Inlined}StructPtr. #} 73 every use of {Inlined}StructPtr. #}
74 #include "mojo/public/cpp/bindings/lib/wtf_hash_util.h" 74 #include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
75 #include "mojo/public/cpp/bindings/wtf_array.h" 75 #include "mojo/public/cpp/bindings/wtf_array.h"
76 #include "mojo/public/cpp/bindings/wtf_map.h"
77 #include "third_party/WebKit/Source/wtf/HashFunctions.h" 76 #include "third_party/WebKit/Source/wtf/HashFunctions.h"
78 #include "third_party/WebKit/Source/wtf/Optional.h" 77 #include "third_party/WebKit/Source/wtf/Optional.h"
79 #include "third_party/WebKit/Source/wtf/text/WTFString.h" 78 #include "third_party/WebKit/Source/wtf/text/WTFString.h"
80 {%- endif %} 79 {%- endif %}
81 80
82 {%- for header in extra_public_headers %} 81 {%- for header in extra_public_headers %}
83 #include "{{header}}" 82 #include "{{header}}"
84 {%- endfor %} 83 {%- endfor %}
85 84
86 {%- if export_header %} 85 {%- if export_header %}
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 {#--- Union Serialization Helpers -#} 222 {#--- Union Serialization Helpers -#}
224 {% if unions %} 223 {% if unions %}
225 {%- for union in unions %} 224 {%- for union in unions %}
226 {% include "union_traits_declaration.tmpl" %} 225 {% include "union_traits_declaration.tmpl" %}
227 {%- endfor %} 226 {%- endfor %}
228 {%- endif %} 227 {%- endif %}
229 228
230 } // namespace mojo 229 } // namespace mojo
231 230
232 #endif // {{header_guard}} 231 #endif // {{header_guard}}
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/wtf_map.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698