| Index: chrome/browser/oom_priority_manager.h
|
| diff --git a/chrome/browser/oom_priority_manager.h b/chrome/browser/oom_priority_manager.h
|
| index 866ec4de572f64dd4d53e6822dc5c5bfd89bec7f..7c91d043301e5bf6408aca9e5cba7f01eee82c93 100644
|
| --- a/chrome/browser/oom_priority_manager.h
|
| +++ b/chrome/browser/oom_priority_manager.h
|
| @@ -50,6 +50,11 @@ class OomPriorityManager : public content::NotificationObserver {
|
| // Returns true if it successfully found a tab and discarded it.
|
| bool DiscardTab();
|
|
|
| + // Log memory statistics for the running processes, then discards a tab.
|
| + // Tab discard happens sometime later, as collecting the statistics touches
|
| + // multiple threads and takes time.
|
| + void LogMemoryAndDiscardTab();
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(OomPriorityManagerTest, Comparator);
|
|
|
|
|