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

Side by Side Diff: services/resource_coordinator/public/interfaces/coordination_unit.mojom

Issue 2929883002: [GRC] ResourceCoordinatorInterface support to remove children (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module resource_coordinator.mojom; 5 module resource_coordinator.mojom;
6 6
7 import "events.mojom"; 7 import "events.mojom";
8 import "mojo/common/values.mojom"; 8 import "mojo/common/values.mojom";
9 9
10 // Any new type here needs to be mirrored between coordination_unit_types.h and 10 // Any new type here needs to be mirrored between coordination_unit_types.h and
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // a specific unit, so we don't have to deal with possibly-not-yet-created 50 // a specific unit, so we don't have to deal with possibly-not-yet-created
51 // children in AddChild() 51 // children in AddChild()
52 GetID() => (CoordinationUnitID id); 52 GetID() => (CoordinationUnitID id);
53 53
54 // Add a new binding to an existing CoordinationUnit. 54 // Add a new binding to an existing CoordinationUnit.
55 AddBinding(CoordinationUnit& request); 55 AddBinding(CoordinationUnit& request);
56 56
57 // child_id must represent a CU which already exists service-side, 57 // child_id must represent a CU which already exists service-side,
58 // and can't be a direct ascendent or descendent of the current unit. 58 // and can't be a direct ascendent or descendent of the current unit.
59 AddChild(CoordinationUnitID child_id); 59 AddChild(CoordinationUnitID child_id);
60 RemoveChild(CoordinationUnitID child_id);
nasko 2017/06/09 22:19:13 Does the above comment apply to RemoveChild? Readi
matthalp 2017/06/09 22:31:58 It does not. Comment added.
60 SetCoordinationPolicyCallback(CoordinationPolicyCallback callback); 61 SetCoordinationPolicyCallback(CoordinationPolicyCallback callback);
61 62
62 // Sets a property on the CoordinationUnitImpl's internal key-value store. 63 // Sets a property on the CoordinationUnitImpl's internal key-value store.
63 SetProperty(Property property); 64 SetProperty(Property property);
64 }; 65 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698