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

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: Create handle per child Created 4 years, 5 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..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);
dcheng 2016/07/12 05:20:28 I think we shouldn't expose testing interfaces in
bashi 2016/07/12 05:51:46 Maybe I'm wrong but I think we need an IPC to get
dcheng 2016/07/12 06:10:53 Ah, I missed that it's a browser test. I think we
bashi 2016/07/12 06:19:24 I see. Let me think about a workaround. Probably w
bashi 2016/07/12 06:38:01 Done. dcheng@, what do you think about PS#11?
};

Powered by Google App Engine
This is Rietveld 408576698