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 THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_ |
6 #define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_ |
7 | 7 |
8 #include "third_party/mojo/src/mojo/public/cpp/bindings/message.h" | 8 #include "mojo/public/cpp/bindings/message.h" |
9 #include "third_party/mojo/src/mojo/public/cpp/bindings/message_filter.h" | 9 #include "mojo/public/cpp/bindings/message_filter.h" |
10 #include "third_party/mojo/src/mojo/public/cpp/system/core.h" | 10 #include "mojo/public/cpp/system/core.h" |
11 | 11 |
12 namespace mojo { | 12 namespace mojo { |
13 | 13 |
14 // NoInterface is for use in cases when a non-existent or empty interface is | 14 // NoInterface is for use in cases when a non-existent or empty interface is |
15 // needed. | 15 // needed. |
16 | 16 |
17 class NoInterfaceProxy; | 17 class NoInterfaceProxy; |
18 class NoInterfaceStub; | 18 class NoInterfaceStub; |
19 | 19 |
20 class NoInterface { | 20 class NoInterface { |
(...skipping 21 matching lines...) Expand all Loading... |
42 MessageReceiver* responder) override; | 42 MessageReceiver* responder) override; |
43 }; | 43 }; |
44 | 44 |
45 // AnyInterface is for use in cases where any interface would do (e.g., see the | 45 // AnyInterface is for use in cases where any interface would do (e.g., see the |
46 // Shell::Connect method). | 46 // Shell::Connect method). |
47 | 47 |
48 typedef NoInterface AnyInterface; | 48 typedef NoInterface AnyInterface; |
49 | 49 |
50 } // namespace mojo | 50 } // namespace mojo |
51 | 51 |
52 #endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_ | 52 #endif // MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_ |
OLD | NEW |