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 | |
10 namespace service_manager { | |
11 | |
oystein (OOO til 10th of July)
2017/05/17 23:06:06
nit: remove blank line
matthalp
2017/05/18 16:13:45
Done.
| |
12 class ServiceContextRefFactory; | |
13 | |
oystein (OOO til 10th of July)
2017/05/17 23:06:06
nit: remove blank line
matthalp
2017/05/18 16:13:45
Done.
| |
14 } // service_manager | |
oystein (OOO til 10th of July)
2017/05/17 23:06:05
no need for the // service_manager comment when yo
matthalp
2017/05/18 16:13:45
Done.
| |
15 | |
16 namespace resource_coordinator { | |
17 | |
18 struct CoordinationUnitID; | |
19 | |
20 class CoordinationUnitFactory { | |
oystein (OOO til 10th of July)
2017/05/17 23:06:05
Since we're wrapped in a namespace here anyway and
matthalp
2017/05/18 16:13:45
Done.
| |
21 public: | |
22 static std::unique_ptr<CoordinationUnitImpl> CreateCoordinationUnit( | |
23 const CoordinationUnitID& id, | |
24 service_manager::ServiceContextRefFactory* service_ref_factory); | |
25 | |
26 private: | |
27 DISALLOW_COPY_AND_ASSIGN(CoordinationUnitFactory); | |
oystein (OOO til 10th of July)
2017/05/17 23:06:05
nit: should include "base/macros.h" for this, for
matthalp
2017/05/18 16:13:45
N/A since this is no longer a class as the code is
| |
28 }; | |
29 | |
30 } // namespace resource_coordinator | |
31 | |
32 #endif // SERVICES_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_FAC TORY_H_ | |
OLD | NEW |