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

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

Issue 2276043002: Support custom message filtering on Mojo binding objects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 3 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 // 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_NO_INTERFACE_H_ 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_
6 #define MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_ 6 #define MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_
7 7
8 #include "mojo/public/cpp/bindings/message.h" 8 #include "mojo/public/cpp/bindings/message.h"
9 #include "mojo/public/cpp/bindings/message_filter.h"
10 #include "mojo/public/cpp/system/core.h" 9 #include "mojo/public/cpp/system/core.h"
11 10
12 namespace mojo { 11 namespace mojo {
13 12
14 // NoInterface is for use in cases when a non-existent or empty interface is 13 // NoInterface is for use in cases when a non-existent or empty interface is
15 // needed. 14 // needed.
16 15
17 class NoInterfaceProxy; 16 class NoInterfaceProxy;
18 class NoInterfaceStub; 17 class NoInterfaceStub;
19 18
(...skipping 23 matching lines...) Expand all
43 }; 42 };
44 43
45 // AnyInterface is for use in cases where any interface would do (e.g., see the 44 // AnyInterface is for use in cases where any interface would do (e.g., see the
46 // Shell::Connect method). 45 // Shell::Connect method).
47 46
48 typedef NoInterface AnyInterface; 47 typedef NoInterface AnyInterface;
49 48
50 } // namespace mojo 49 } // namespace mojo
51 50
52 #endif // MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_ 51 #endif // MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/message_header_validator.h ('k') | mojo/public/cpp/bindings/strong_binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698