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 e32024ff0c5aeb10dfed8cdb1cc93279c0dab9dd..2115a862ca571b63ec1a31ccf895e1afce9fc068 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl |
@@ -13,6 +13,8 @@ class {{interface.name}} { |
static const uint32_t Version_ = {{interface.version}}; |
static const bool PassesAssociatedKinds_ = {% if interface|passes_associated_kinds %}true{% else %}false{% endif %}; |
+ using GenericInterface = {{interface|get_qualified_name_for_kind}}; |
+ |
using Proxy_ = {{interface.name}}Proxy; |
using Stub_ = {{interface.name}}Stub; |