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

Unified Diff: services/resource_coordinator/resource_coordinator_service.h

Issue 2914003002: [GRC] Coordination Unit Manager Modularization (Closed)
Patch Set: Add CoordinationUnitManager comment Created 3 years, 6 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/resource_coordinator_service.h
diff --git a/services/resource_coordinator/resource_coordinator_service.h b/services/resource_coordinator/resource_coordinator_service.h
index 2cbdd7cfbb2d16455693e21cab457e4562350b93..4246cb95234d22e629656d1254bb950598614bd2 100644
--- a/services/resource_coordinator/resource_coordinator_service.h
+++ b/services/resource_coordinator/resource_coordinator_service.h
@@ -2,14 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SERVICES_SPEED_SPEED_SERVICE_H_
-#define SERVICES_SPEED_SPEED_SERVICE_H_
+#ifndef SERVICES_RESOURCE_COORDINATOR_RESOURCE_COORDINATOR_SERVICE_H_
+#define SERVICES_RESOURCE_COORDINATOR_RESOURCE_COORDINATOR_SERVICE_H_
#include <memory>
+#include <string>
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "services/resource_coordinator/coordination_unit/coordination_unit_manager.h"
#include "services/service_manager/public/cpp/binder_registry.h"
#include "services/service_manager/public/cpp/service.h"
#include "services/service_manager/public/cpp/service_context_ref.h"
@@ -34,6 +36,7 @@ class ResourceCoordinatorService : public service_manager::Service {
private:
service_manager::BinderRegistry registry_;
std::unique_ptr<service_manager::ServiceContextRefFactory> ref_factory_;
+ CoordinationUnitManager coordination_unit_manager_;
// WeakPtrFactory members should always come last so WeakPtrs are destructed
// before other members.
@@ -44,4 +47,4 @@ class ResourceCoordinatorService : public service_manager::Service {
} // namespace resource_coordinator
-#endif // SERVICES_SPEED_SPEED_SERVICE_H_
+#endif // SERVICES_RESOURCE_COORDINATOR_RESOURCE_COORDINATOR_SERVICE_H_

Powered by Google App Engine
This is Rietveld 408576698