Chromium Code Reviews| Index: content/browser/memory/memory_coordinator.h |
| diff --git a/content/browser/memory/memory_coordinator.h b/content/browser/memory/memory_coordinator.h |
| index 2c2f22473035d62b7c5ea26d793b307d5b887651..6cf3814e4220fe915016326d5f3f4cb81efeffeb 100644 |
| --- a/content/browser/memory/memory_coordinator.h |
| +++ b/content/browser/memory/memory_coordinator.h |
| @@ -52,6 +52,8 @@ class CONTENT_EXPORT MemoryCoordinator { |
| // Called when ChildMemoryCoordinator calls AddChild(). |
| virtual void OnChildAdded(int render_process_id) {} |
| + virtual base::MemoryState GetCurrentState() const = 0; |
|
haraken
2016/10/13 09:27:20
GetCurrentMemoryState
bashi
2016/10/13 23:16:34
nit: I'd prefer to return UNKNOWN so that TestMemo
hajimehoshi
2016/10/14 07:37:47
Done.
|
| + |
| protected: |
| // Constructor. Protected as this is a singleton, but accessible for |
| // unittests. |