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

Unified Diff: components/memory_coordinator/public/interfaces/child_memory_coordinator.mojom

Issue 2094583002: Add MemoryCoordinator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use feature_list Created 4 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
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..e0ae09c12fec04057a142db2a88b9aade1e596a8 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.
+ GetCurrentState() => (MemoryState state);
};

Powered by Google App Engine
This is Rietveld 408576698