Index: services/resource_coordinator/public/cpp/resource_coordinator_interface.cc |
diff --git a/services/resource_coordinator/public/cpp/resource_coordinator_interface.cc b/services/resource_coordinator/public/cpp/resource_coordinator_interface.cc |
index 7c76ac3c28d8070394b838df619a98c867895e30..ebcd2c789dc730912cfe74db0e6b9cab58062cef 100644 |
--- a/services/resource_coordinator/public/cpp/resource_coordinator_interface.cc |
+++ b/services/resource_coordinator/public/cpp/resource_coordinator_interface.cc |
@@ -101,4 +101,13 @@ void ResourceCoordinatorInterface::RemoveChildByID( |
service_->RemoveChild(child_id); |
} |
+void ResourceCoordinatorInterface::SetProperty( |
+ const mojom::PropertyType& property_type, |
+ std::unique_ptr<base::Value> value) { |
+ mojom::PropertyPtr property = mojom::Property::New(); |
+ property->property = property_type; |
+ property->value = std::move(value); |
+ service_->SetProperty(std::move(property)); |
+} |
+ |
} // namespace resource_coordinator |