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

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: gyp 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..1fa8e1d943e882172d1ff60bf1c06dec45975143 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 latest memory state.
+ GetLastState() => (MemoryState state);
haraken 2016/06/27 02:17:07 GetLastState => GetCurrentState ?
bashi 2016/06/27 03:49:29 Done.
};

Powered by Google App Engine
This is Rietveld 408576698