| Index: services/resource_coordinator/public/cpp/resource_coordinator_interface.h
|
| diff --git a/services/resource_coordinator/public/cpp/resource_coordinator_interface.h b/services/resource_coordinator/public/cpp/resource_coordinator_interface.h
|
| index 6460dc264d0d04d8dcd0f824cf485398b430992a..72ae40ab31a6d97374116271a1c7c21f918bef80 100644
|
| --- a/services/resource_coordinator/public/cpp/resource_coordinator_interface.h
|
| +++ b/services/resource_coordinator/public/cpp/resource_coordinator_interface.h
|
| @@ -7,6 +7,8 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <string>
|
| +
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/threading/thread_checker.h"
|
| @@ -38,11 +40,13 @@ class SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EXPORT
|
|
|
| void SendEvent(const mojom::EventType& event_type);
|
| void AddChild(const ResourceCoordinatorInterface& child);
|
| + void RemoveChild(const ResourceCoordinatorInterface& child);
|
|
|
| private:
|
| void ConnectToService(service_manager::Connector* connector,
|
| const CoordinationUnitID& cu_id);
|
| void AddChildByID(const CoordinationUnitID& child_id);
|
| + void RemoveChildByID(const CoordinationUnitID& child_id);
|
|
|
| mojom::CoordinationUnitPtr service_;
|
|
|
|
|