| Index: mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
|
| index 7aa21c440f31472b5dbc2da406c8887c0c387388..613c70d2dc8c23306a719e437acde5e93089629e 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
|
| @@ -3,6 +3,8 @@
|
| class {{struct.name}} {
|
| public:
|
| using Data_ = internal::{{struct.name}}_Data;
|
| +
|
| + // TODO(yzshen): Remove Reader.
|
| using Reader = {{struct.name}}_Reader;
|
|
|
| {#--- Enums #}
|
| @@ -62,6 +64,7 @@ class {{struct.name}} {
|
| {# TODO(yzshen): Redo the Reader interface. #}
|
| {# NOTE: Generated Reader instances are intentionally cheap to copy and devoid
|
| of heap allocations. They should stay this way. #}
|
| +// TODO(yzshen): Remove this.
|
| class {{struct.name}}_Reader {
|
| public:
|
| {{struct.name}}_Reader(internal::{{struct.name}}_Data* data,
|
|
|