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

Side by Side Diff: mojo/public/bindings/generators/cpp_templates/interface_stub_declaration.tmpl

Issue 109103003: Mojo: abstract interface implementation from generated Stub classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase + fix build Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 class {{interface.name}}Stub : public {{interface.name}}, public mojo::MessageRe ceiver { 1 class {{interface.name}}Stub : public mojo::MessageReceiver {
2 public: 2 public:
3 explicit {{interface.name}}Stub({{interface.name}}* sink);
4
3 virtual bool Accept(mojo::Message* message) MOJO_OVERRIDE; 5 virtual bool Accept(mojo::Message* message) MOJO_OVERRIDE;
6
7 private:
8 {{interface.name}}* sink_;
4 }; 9 };
OLDNEW
« no previous file with comments | « mojo/public/bindings/generators/cpp_templates/interface_definition.tmpl ('k') | mojo/public/bindings/lib/remote_ptr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698