Chromium Code Reviews| Index: services/resource_coordinator/coordination_unit/coordination_unit_factory.h |
| diff --git a/services/resource_coordinator/coordination_unit/coordination_unit_factory.h b/services/resource_coordinator/coordination_unit/coordination_unit_factory.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6c08d40645504d99c186264db67bfc4911737c5c |
| --- /dev/null |
| +++ b/services/resource_coordinator/coordination_unit/coordination_unit_factory.h |
| @@ -0,0 +1,30 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef SERVICES_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_FACTORY_H_ |
| +#define SERVICES_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_FACTORY_H_ |
| + |
| +#include <memory> |
| + |
| +#include "services/resource_coordinator/coordination_unit/coordination_unit_impl.h" |
| + |
| +namespace service_manager { |
| +class ServiceContextRefFactory; |
| +} |
| + |
| +namespace resource_coordinator { |
| + |
| +struct CoordinationUnitID; |
| + |
| +namespace CoordinationUnitFactory { |
|
oystein (OOO til 10th of July)
2017/05/18 21:24:32
Actually, my fault, this should be "coordination_u
|
| + |
| +std::unique_ptr<CoordinationUnitImpl> CreateCoordinationUnit( |
| + const CoordinationUnitID& id, |
| + service_manager::ServiceContextRefFactory* service_ref_factory); |
| + |
| +} // namespace CoordinationUnitFactory |
| + |
| +} // namespace resource_coordinator |
| + |
| +#endif // SERVICES_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_FACTORY_H_ |