| Index: services/resource_coordinator/coordination_unit/coordination_unit_impl.cc
|
| diff --git a/services/resource_coordinator/coordination_unit/coordination_unit_impl.cc b/services/resource_coordinator/coordination_unit/coordination_unit_impl.cc
|
| index 50b6628ef2ac224e82a5413b1594ee90905a12cb..e1efa00bf8f52744f623d453de074de0911ac3c7 100644
|
| --- a/services/resource_coordinator/coordination_unit/coordination_unit_impl.cc
|
| +++ b/services/resource_coordinator/coordination_unit/coordination_unit_impl.cc
|
| @@ -335,6 +335,17 @@ void CoordinationUnitImpl::SetProperty(mojom::PropertyType property,
|
| }
|
| }
|
|
|
| +void CoordinationUnitImpl::SetPropertyAndPropagate(
|
| + mojom::PropertyPtr property) {
|
| + SetPropertyAndPropagate(property->property, *property->value);
|
| +}
|
| +
|
| +void CoordinationUnitImpl::SetPropertyAndPropagate(mojom::PropertyType property,
|
| + base::Value value) {
|
| + SetProperty(property, value);
|
| + PropagateProperty(property);
|
| +}
|
| +
|
| void CoordinationUnitImpl::WillBeDestroyed() {
|
| for (auto& observer : observers_) {
|
| observer.OnCoordinationUnitWillBeDestroyed(this);
|
|
|