OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |