OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SERVICES_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_FACTOR
Y_H_ |
| 6 #define SERVICES_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_FACTOR
Y_H_ |
| 7 |
| 8 #include "services/resource_coordinator/coordination_unit/coordination_unit_impl
.h" |
| 9 #include "services/resource_coordinator/public/cpp/coordination_unit_id.h" |
| 10 |
| 11 namespace service_manager { |
| 12 |
| 13 class ServiceContextRefFactory; |
| 14 |
| 15 } // service_manager |
| 16 |
| 17 namespace resource_coordinator { |
| 18 |
| 19 class ServiceContextRefFactory; |
| 20 |
| 21 class CoordinationUnitFactory { |
| 22 public: |
| 23 static std::unique_ptr<CoordinationUnitImpl> CreateCoordinationUnit( |
| 24 const CoordinationUnitID& id, |
| 25 service_manager::ServiceContextRefFactory* service_ref_factory); |
| 26 |
| 27 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(CoordinationUnitFactory); |
| 29 }; |
| 30 |
| 31 } // namespace resource_coordinator |
| 32 |
| 33 #endif // SERVICES_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_FAC
TORY_H_ |
OLD | NEW |