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

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

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

Powered by Google App Engine
This is Rietveld 408576698