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

Unified Diff: services/resource_coordinator/public/interfaces/coordination_unit.mojom

Issue 2929883002: [GRC] ResourceCoordinatorInterface support to remove children (Closed)
Patch Set: Address reviewer feedback 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
« no previous file with comments | « services/resource_coordinator/public/cpp/resource_coordinator_interface.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/resource_coordinator/public/interfaces/coordination_unit.mojom
diff --git a/services/resource_coordinator/public/interfaces/coordination_unit.mojom b/services/resource_coordinator/public/interfaces/coordination_unit.mojom
index f2c99d94f04f6f49a1be2ee3666dcc01d56e0fa1..c9b50ef937ab618ecf0257c24fec75bcef779ed2 100644
--- a/services/resource_coordinator/public/interfaces/coordination_unit.mojom
+++ b/services/resource_coordinator/public/interfaces/coordination_unit.mojom
@@ -54,9 +54,13 @@ interface CoordinationUnit {
// Add a new binding to an existing CoordinationUnit.
AddBinding(CoordinationUnit& request);
- // child_id must represent a CU which already exists service-side,
+ // child_id must represent a CU that already exists service-side,
// and can't be a direct ascendent or descendent of the current unit.
AddChild(CoordinationUnitID child_id);
+
+ // child_id must represent a CU that already exists service-side
+ // and is a direct descendent of the current unit.
+ RemoveChild(CoordinationUnitID child_id);
SetCoordinationPolicyCallback(CoordinationPolicyCallback callback);
// Sets a property on the CoordinationUnitImpl's internal key-value store.
« no previous file with comments | « services/resource_coordinator/public/cpp/resource_coordinator_interface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698