| Index: chrome/browser/memory/tab_manager.h
|
| diff --git a/chrome/browser/memory/tab_manager.h b/chrome/browser/memory/tab_manager.h
|
| index cd5c3480417bf76976c8a3849ae4d0e5fe6c5057..e7c2d425529eb71b33c74ac596f047dc3a138e81 100644
|
| --- a/chrome/browser/memory/tab_manager.h
|
| +++ b/chrome/browser/memory/tab_manager.h
|
| @@ -128,6 +128,10 @@ class TabManager : public TabStripModelObserver {
|
| void AddObserver(TabManagerObserver* observer);
|
| void RemoveObserver(TabManagerObserver* observer);
|
|
|
| + // Returns true if |first| is considered less desirable to be killed than
|
| + // |second|.
|
| + static bool CompareTabStats(const TabStats& first, const TabStats& second);
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(TabManagerTest, CanOnlyDiscardOnce);
|
| FRIEND_TEST_ALL_PREFIXES(TabManagerTest, ChildProcessNotifications);
|
| @@ -244,10 +248,6 @@ class TabManager : public TabStripModelObserver {
|
| // creating one if needed.
|
| WebContentsData* GetWebContentsData(content::WebContents* contents) const;
|
|
|
| - // Returns true if |first| is considered less desirable to be killed than
|
| - // |second|.
|
| - static bool CompareTabStats(TabStats first, TabStats second);
|
| -
|
| // Returns either the system's clock or the test clock. See |test_tick_clock_|
|
| // for more details.
|
| base::TimeTicks NowTicks() const;
|
|
|