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

Side by Side Diff: mojo/public/cpp/bindings/message_filter.h

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
« no previous file with comments | « mojo/public/cpp/bindings/lib/router.cc ('k') | mojo/public/cpp/bindings/no_interface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_MESSAGE_FILTER_H_ 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_MESSAGE_FILTER_H_
6 #define MOJO_PUBLIC_CPP_BINDINGS_MESSAGE_FILTER_H_ 6 #define MOJO_PUBLIC_CPP_BINDINGS_MESSAGE_FILTER_H_
7 7
8 #include "mojo/public/cpp/bindings/message.h" 8 #include "mojo/public/cpp/bindings/message.h"
9 #include "mojo/public/cpp/system/macros.h" 9 #include "mojo/public/cpp/system/macros.h"
10 10
(...skipping 13 matching lines...) Expand all
24 24
25 protected: 25 protected:
26 MessageReceiver* sink_; 26 MessageReceiver* sink_;
27 }; 27 };
28 28
29 // A trivial filter that simply forwards every message it receives to |sink_|. 29 // A trivial filter that simply forwards every message it receives to |sink_|.
30 class PassThroughFilter : public MessageFilter { 30 class PassThroughFilter : public MessageFilter {
31 public: 31 public:
32 explicit PassThroughFilter(MessageReceiver* sink = NULL); 32 explicit PassThroughFilter(MessageReceiver* sink = NULL);
33 33
34 virtual bool Accept(Message* message) MOJO_OVERRIDE; 34 virtual bool Accept(Message* message) override;
35 }; 35 };
36 36
37 } // namespace mojo 37 } // namespace mojo
38 38
39 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_MESSAGE_FILTER_H_ 39 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/lib/router.cc ('k') | mojo/public/cpp/bindings/no_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698