Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1228)

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl

Issue 299833008: Move AcceptWithResponder() out of the MessageReceiver interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl
index c4a8bed632f66e4aba977e2344f32cc287144345..9451118a4384a792cf53698afc0b7b651c13735d 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl
@@ -1,7 +1,7 @@
{%- import "interface_macros.tmpl" as interface_macros %}
class {{interface.name}}Proxy : public {{interface.name}} {
public:
- explicit {{interface.name}}Proxy(mojo::MessageReceiver* receiver);
+ explicit {{interface.name}}Proxy(mojo::MessageReceiverWithResponder* receiver);
{%- for method in interface.methods %}
virtual void {{method.name}}(
@@ -10,5 +10,5 @@ class {{interface.name}}Proxy : public {{interface.name}} {
{%- endfor %}
private:
- mojo::MessageReceiver* receiver_;
+ mojo::MessageReceiverWithResponder* receiver_;
};

Powered by Google App Engine
This is Rietveld 408576698