| Index: content/common/memory_coordinator.mojom
|
| diff --git a/content/common/memory_coordinator.mojom b/content/common/memory_coordinator.mojom
|
| index 82d40b97d67a40d5877bc68f440a1c5cbe40dbd2..6fe7787523463f8c962246f9ee39d02a479aa641 100644
|
| --- a/content/common/memory_coordinator.mojom
|
| +++ b/content/common/memory_coordinator.mojom
|
| @@ -11,4 +11,12 @@ import "content/common/child_memory_coordinator.mojom";
|
| interface MemoryCoordinatorHandle {
|
| // A child process calls this method when ChildMemoryCoordinator is created.
|
| AddChild(ChildMemoryCoordinator child);
|
| +
|
| + // Gets a shared memory handle for the global memory budget. A child
|
| + // process calls this method when ChildMemoryCoordinator is created.
|
| + GetGlobalBudgetHandle() => (handle<shared_buffer> budget_handle);
|
| +
|
| + // TODO(bashi): Tentative.
|
| + // Sets an interval for a task to update the global memory budget.
|
| + SetGlobalBudgetUpdateInterval(uint32 interval_ms);
|
| };
|
|
|