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