1{%- import "interface_macros.tmpl" as interface_macros %} 2class {{export_attribute}} {{interface.name}}Proxy 3 : public {{interface.name}} { 4 public: 5 explicit {{interface.name}}Proxy(mojo::MessageReceiverWithResponder* receiver); 6 7{%- for method in interface.methods %} 8{%- if method.sync %} 9 bool {{method.name}}({{interface_macros.declare_sync_method_params("", method)}}) final; 10{%- endif %} 11 void {{method.name}}({{interface_macros.declare_request_params("", method, use_once_callback)}}) final; 12{%- endfor %} 13 14 private: 15 mojo::MessageReceiverWithResponder* receiver_; 16}; 17