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 7bc6d6cbde9468cd67d20f1ca5dece4a6a889039..2f0c60e97af4f7afdcb1f02266e2665382e27d79 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl |
@@ -12,6 +12,7 @@ class {{interface.name}} { |
static const char Name_[]; |
static const uint32_t Version_ = {{interface.version}}; |
static const bool PassesAssociatedKinds_ = {% if interface|passes_associated_kinds %}true{% else %}false{% endif %}; |
+ static const bool HasSyncMethods_ = {% if interface|has_sync_methods %}true{% else %}false{% endif %}; |
using GenericInterface = {{interface|get_qualified_name_for_kind}}; |