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

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl

Issue 1821073002: Mojo bindings: Fix typemap includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
index 4d1dc90eece181bf0c0425098879d6bdfe1cfeac..9d40509435f10eb4a13f4dfd7fbaf2c94d237e69 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
@@ -40,6 +40,10 @@
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"
{%- endif %}
+{%- for header in extra_traits_headers %}
+#include "{{header}}"
+{%- endfor %}
+
{%- for namespace in namespaces_as_array %}
namespace {{namespace}} {
{%- endfor %}

Powered by Google App Engine
This is Rietveld 408576698