OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ASSOCIATED_BINDING_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_BINDING_H_ |
6 #define MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_BINDING_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_BINDING_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
15 #include "base/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
16 #include "mojo/public/cpp/bindings/associated_group.h" | 16 #include "mojo/public/cpp/bindings/associated_group.h" |
17 #include "mojo/public/cpp/bindings/associated_interface_request.h" | 17 #include "mojo/public/cpp/bindings/associated_interface_request.h" |
18 #include "mojo/public/cpp/bindings/callback.h" | 18 #include "mojo/public/cpp/bindings/callback.h" |
19 #include "mojo/public/cpp/bindings/lib/interface_endpoint_client.h" | 19 #include "mojo/public/cpp/bindings/lib/interface_endpoint_client.h" |
20 #include "mojo/public/cpp/bindings/lib/multiplex_router.h" | 20 #include "mojo/public/cpp/bindings/lib/multiplex_router.h" |
21 #include "mojo/public/cpp/bindings/lib/scoped_interface_endpoint_handle.h" | 21 #include "mojo/public/cpp/bindings/lib/scoped_interface_endpoint_handle.h" |
22 | 22 |
23 namespace mojo { | 23 namespace mojo { |
24 | 24 |
25 // Represents the implementation side of an associated interface. It is similar | 25 // Represents the implementation side of an associated interface. It is similar |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 typename Interface::Stub_ stub_; | 160 typename Interface::Stub_ stub_; |
161 Interface* impl_; | 161 Interface* impl_; |
162 Closure connection_error_handler_; | 162 Closure connection_error_handler_; |
163 | 163 |
164 DISALLOW_COPY_AND_ASSIGN(AssociatedBinding); | 164 DISALLOW_COPY_AND_ASSIGN(AssociatedBinding); |
165 }; | 165 }; |
166 | 166 |
167 } // namespace mojo | 167 } // namespace mojo |
168 | 168 |
169 #endif // MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_BINDING_H_ | 169 #endif // MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_BINDING_H_ |
OLD | NEW |