OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_PROVID
ER_IMPL_H_ | 5 #ifndef SERVICES_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_PROVID
ER_IMPL_H_ |
6 #define SERVICES_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_PROVID
ER_IMPL_H_ | 6 #define SERVICES_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_PROVID
ER_IMPL_H_ |
7 | 7 |
| 8 #include <memory> |
| 9 |
8 #include "mojo/public/cpp/bindings/interface_request.h" | 10 #include "mojo/public/cpp/bindings/interface_request.h" |
9 #include "mojo/public/cpp/bindings/strong_binding.h" | 11 #include "mojo/public/cpp/bindings/strong_binding.h" |
10 #include "services/resource_coordinator/public/interfaces/coordination_unit_prov
ider.mojom.h" | 12 #include "services/resource_coordinator/public/interfaces/coordination_unit_prov
ider.mojom.h" |
11 #include "services/service_manager/public/cpp/bind_source_info.h" | 13 #include "services/service_manager/public/cpp/bind_source_info.h" |
12 | 14 |
13 namespace service_manager { | 15 namespace service_manager { |
14 | 16 |
15 class ServiceContextRefFactory; | 17 class ServiceContextRefFactory; |
16 class ServiceContextRef; | 18 class ServiceContextRef; |
17 | 19 |
(...skipping 20 matching lines...) Expand all Loading... |
38 private: | 40 private: |
39 service_manager::ServiceContextRefFactory* service_ref_factory_; | 41 service_manager::ServiceContextRefFactory* service_ref_factory_; |
40 std::unique_ptr<service_manager::ServiceContextRef> service_ref_; | 42 std::unique_ptr<service_manager::ServiceContextRef> service_ref_; |
41 | 43 |
42 DISALLOW_COPY_AND_ASSIGN(CoordinationUnitProviderImpl); | 44 DISALLOW_COPY_AND_ASSIGN(CoordinationUnitProviderImpl); |
43 }; | 45 }; |
44 | 46 |
45 } // namespace resource_coordinator | 47 } // namespace resource_coordinator |
46 | 48 |
47 #endif // SERVICES_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_PRO
VIDER_IMPL_H_ | 49 #endif // SERVICES_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_PRO
VIDER_IMPL_H_ |
OLD | NEW |