| Index: chrome/browser/oom_priority_manager.h
|
| diff --git a/chrome/browser/oom_priority_manager.h b/chrome/browser/oom_priority_manager.h
|
| index 916e0624f119f220fd89e1140081503583baf293..231de49c8a943377e244bdf7e27117b1f042f117 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);
|
|
|
|
|