OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 SERVICES_SERVICE_MANAGER_PUBLIC_CPP_INTERFACE_REGISTRY_H_ | 5 #ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_INTERFACE_REGISTRY_H_ |
6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_INTERFACE_REGISTRY_H_ | 6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_INTERFACE_REGISTRY_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <memory> | 9 #include <memory> |
10 #include <queue> | 10 #include <queue> |
11 #include <set> | 11 #include <set> |
12 #include <utility> | 12 #include <utility> |
13 | 13 |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
| 16 #include "base/single_thread_task_runner.h" |
16 #include "mojo/public/cpp/bindings/binding.h" | 17 #include "mojo/public/cpp/bindings/binding.h" |
17 #include "services/service_manager/public/cpp/identity.h" | 18 #include "services/service_manager/public/cpp/identity.h" |
18 #include "services/service_manager/public/cpp/interface_provider_spec.h" | 19 #include "services/service_manager/public/cpp/interface_provider_spec.h" |
19 #include "services/service_manager/public/cpp/lib/callback_binder.h" | 20 #include "services/service_manager/public/cpp/lib/callback_binder.h" |
20 #include "services/service_manager/public/cpp/lib/interface_factory_binder.h" | 21 #include "services/service_manager/public/cpp/lib/interface_factory_binder.h" |
21 #include "services/service_manager/public/interfaces/interface_provider.mojom.h" | 22 #include "services/service_manager/public/interfaces/interface_provider.mojom.h" |
22 | 23 |
23 namespace service_manager { | 24 namespace service_manager { |
24 class Connection; | 25 class Connection; |
25 class InterfaceBinder; | 26 class InterfaceBinder; |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 std::list<base::Closure> connection_lost_closures_; | 228 std::list<base::Closure> connection_lost_closures_; |
228 | 229 |
229 base::WeakPtrFactory<InterfaceRegistry> weak_factory_; | 230 base::WeakPtrFactory<InterfaceRegistry> weak_factory_; |
230 | 231 |
231 DISALLOW_COPY_AND_ASSIGN(InterfaceRegistry); | 232 DISALLOW_COPY_AND_ASSIGN(InterfaceRegistry); |
232 }; | 233 }; |
233 | 234 |
234 } // namespace service_manager | 235 } // namespace service_manager |
235 | 236 |
236 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_INTERFACE_REGISTRY_H_ | 237 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_INTERFACE_REGISTRY_H_ |
OLD | NEW |