Chromium Code Reviews| 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?
|
| }; |