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

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

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
OLDNEW
(Empty)
1 class {{interface.name}}Stub : public mojo::MessageReceiverWithResponder {
2 public:
3 {{interface.name}}Stub();
4 void set_sink({{interface.name}}* sink) { sink_ = sink; }
5 {{interface.name}}* sink() { return sink_; }
6
7 virtual bool Accept(mojo::Message* message) override;
8 virtual bool AcceptWithResponder(mojo::Message* message,
9 mojo::MessageReceiver* responder) override;
10
11 private:
12 {{interface.name}}* sink_;
13 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698