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

Unified Diff: services/resource_coordinator/coordination_unit/coordination_unit_factory.h

Issue 2892443002: [GRC] Process Coordination Unit support for Global Resource Controller (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
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..6051bdae3b177e8bea770ad4476ad2ecd20511c7
--- /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 ServiceContextRef;
+}
+
+namespace resource_coordinator {
+
+struct CoordinationUnitID;
+
+namespace coordination_unit_factory {
+
+std::unique_ptr<CoordinationUnitImpl> CreateCoordinationUnit(
+ const CoordinationUnitID& id,
+ std::unique_ptr<service_manager::ServiceContextRef> service_ref);
+
+} // namespace coordination_unit_factory
+
+} // namespace resource_coordinator
+
+#endif // SERVICES_RESOURCE_COORDINATOR_COORDINATION_UNIT_COORDINATION_UNIT_FACTORY_H_
« no previous file with comments | « services/resource_coordinator/DEPS ('k') | services/resource_coordinator/coordination_unit/coordination_unit_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698