| 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 72ae40ab31a6d97374116271a1c7c21f918bef80..05f450694d7b375c62c99e23c9930ee70a12930e 100644
|
| --- a/services/resource_coordinator/public/cpp/resource_coordinator_interface.h
|
| +++ b/services/resource_coordinator/public/cpp/resource_coordinator_interface.h
|
| @@ -7,11 +7,13 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/threading/thread_checker.h"
|
| +#include "base/values.h"
|
| #include "services/resource_coordinator/public/interfaces/coordination_unit.mojom.h"
|
|
|
| namespace service_manager {
|
| @@ -41,6 +43,10 @@ class SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EXPORT
|
| void SendEvent(const mojom::EventType& event_type);
|
| void AddChild(const ResourceCoordinatorInterface& child);
|
| void RemoveChild(const ResourceCoordinatorInterface& child);
|
| + void SetProperty(mojom::PropertyType property_type,
|
| + std::unique_ptr<base::Value> value);
|
| + void SetPropertyAndPropagate(mojom::PropertyType property_type,
|
| + std::unique_ptr<base::Value> value);
|
|
|
| private:
|
| void ConnectToService(service_manager::Connector* connector,
|
|
|