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

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

Issue 2817903002: Rewrite references to "wtf/" to "platform/wtf/" in //mojo. (Closed)
Patch Set: Created 3 years, 8 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/tests/wtf_types_unittest.cc ('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 #include "{{import.module.path}}.h" 66 #include "{{import.module.path}}.h"
67 {%- endif %} 67 {%- endif %}
68 {%- endfor %} 68 {%- endfor %}
69 {%- if not for_blink %} 69 {%- if not for_blink %}
70 #include <string> 70 #include <string>
71 #include <vector> 71 #include <vector>
72 {%- else %} 72 {%- else %}
73 {# hash_util.h includes template specializations that should be present for 73 {# hash_util.h includes template specializations that should be present for
74 every use of {Inlined}StructPtr. #} 74 every use of {Inlined}StructPtr. #}
75 #include "mojo/public/cpp/bindings/lib/wtf_hash_util.h" 75 #include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
76 #include "third_party/WebKit/Source/wtf/HashFunctions.h" 76 #include "third_party/WebKit/Source/platform/wtf/HashFunctions.h"
77 #include "third_party/WebKit/Source/wtf/Optional.h" 77 #include "third_party/WebKit/Source/platform/wtf/Optional.h"
78 #include "third_party/WebKit/Source/wtf/text/WTFString.h" 78 #include "third_party/WebKit/Source/platform/wtf/text/WTFString.h"
79 {%- endif %} 79 {%- endif %}
80 80
81 {%- for header in extra_public_headers %} 81 {%- for header in extra_public_headers %}
82 #include "{{header}}" 82 #include "{{header}}"
83 {%- endfor %} 83 {%- endfor %}
84 84
85 {%- if export_header %} 85 {%- if export_header %}
86 #include "{{export_header}}" 86 #include "{{export_header}}"
87 {%- endif %} 87 {%- endif %}
88 88
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 {#--- Union Serialization Helpers -#} 226 {#--- Union Serialization Helpers -#}
227 {% if unions %} 227 {% if unions %}
228 {%- for union in unions %} 228 {%- for union in unions %}
229 {% include "union_traits_declaration.tmpl" %} 229 {% include "union_traits_declaration.tmpl" %}
230 {%- endfor %} 230 {%- endfor %}
231 {%- endif %} 231 {%- endif %}
232 232
233 } // namespace mojo 233 } // namespace mojo
234 234
235 #endif // {{header_guard}} 235 #endif // {{header_guard}}
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/wtf_types_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698