| 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 c6b8c6d01cbd91ab376a473c342dc1b7aa8060e8..091fe09a3ba56fa3990597be63b09a2af63f641b 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl
|
| @@ -1,5 +1,7 @@
|
| {%- import "interface_macros.tmpl" as interface_macros %}
|
| class {{interface.name}}Proxy;
|
| +
|
| +template <typename ImplRefTraits>
|
| class {{interface.name}}Stub;
|
|
|
| class {{interface.name}}RequestValidator;
|
| @@ -16,7 +18,9 @@ class {{export_attribute}} {{interface.name}}
|
| static const bool HasSyncMethods_ = {% if interface|has_sync_methods %}true{% else %}false{% endif %};
|
|
|
| using Proxy_ = {{interface.name}}Proxy;
|
| - using Stub_ = {{interface.name}}Stub;
|
| +
|
| + template <typename ImplRefTraits>
|
| + using Stub_ = {{interface.name}}Stub<ImplRefTraits>;
|
|
|
| using RequestValidator_ = {{interface.name}}RequestValidator;
|
| {%- if interface|has_callbacks %}
|
|
|