| Index: content/browser/memory/memory_coordinator_impl.h
|
| diff --git a/content/browser/memory/memory_coordinator_impl.h b/content/browser/memory/memory_coordinator_impl.h
|
| index f9792a8c67a7acca64f85fd57f6e6942d2f44f00..b86cc61be7a0a6aff3e6a712a68279e5168851b2 100644
|
| --- a/content/browser/memory/memory_coordinator_impl.h
|
| +++ b/content/browser/memory/memory_coordinator_impl.h
|
| @@ -81,6 +81,11 @@ class CONTENT_EXPORT MemoryCoordinatorImpl : public MemoryCoordinator,
|
| // Notifies a state change to child processes.
|
| void NotifyStateToChildren();
|
|
|
| + // Records metrics. This is called when the global state is changed.
|
| + void RecordStateChange(MemoryState prev_state,
|
| + MemoryState next_state,
|
| + base::TimeDelta duration);
|
| +
|
| // Schedules a task to update the global state. The task will be executed
|
| // after |delay| has passed.
|
| void ScheduleUpdateState(base::TimeDelta delay);
|
|
|