Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: services/resource_coordinator/coordination_unit/coordination_unit_factory.h

Issue 2892443002: [GRC] Process Coordination Unit support for Global Resource Controller (Closed)
Patch Set: Formatting Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698