Index: mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl |
index 9edc1db8e5a6becf99e7c8c50484d669badb4b36..e32024ff0c5aeb10dfed8cdb1cc93279c0dab9dd 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl |
@@ -11,6 +11,7 @@ class {{interface.name}} { |
public: |
static const char Name_[]; |
static const uint32_t Version_ = {{interface.version}}; |
+ static const bool PassesAssociatedKinds_ = {% if interface|passes_associated_kinds %}true{% else %}false{% endif %}; |
using Proxy_ = {{interface.name}}Proxy; |
using Stub_ = {{interface.name}}Stub; |