Index: components/memory_coordinator/public/interfaces/child_memory_coordinator.mojom |
diff --git a/components/memory_coordinator/public/interfaces/child_memory_coordinator.mojom b/components/memory_coordinator/public/interfaces/child_memory_coordinator.mojom |
index 59c653ebcdb3f27d96432ced184d5ba93c7e7fe7..00abe8f547e5443c6d8f9eef7ee03a4ee0c67bba 100644 |
--- a/components/memory_coordinator/public/interfaces/child_memory_coordinator.mojom |
+++ b/components/memory_coordinator/public/interfaces/child_memory_coordinator.mojom |
@@ -19,4 +19,7 @@ interface ChildMemoryCoordinator { |
// Called when the central memory coodinator changes the state for child |
// processes. |
OnStateChange(MemoryState state); |
+ |
+ // Returns the current memory state. |
+ GetCurrentStateForTesting() => (MemoryState state); |
}; |