| Index: chrome/browser/memory/tab_manager.h
|
| diff --git a/chrome/browser/memory/tab_manager.h b/chrome/browser/memory/tab_manager.h
|
| index 53793adef8ee733b2b2560f9576f05c211578df4..0f750d35d12d009e6dbdf756a5c28a84ff8de781 100644
|
| --- a/chrome/browser/memory/tab_manager.h
|
| +++ b/chrome/browser/memory/tab_manager.h
|
| @@ -124,7 +124,6 @@ class TabManager : public TabStripModelObserver {
|
| // thread.
|
| TabStatsList GetUnsortedTabStats();
|
|
|
| - // Add/remove observers.
|
| void AddObserver(TabManagerObserver* observer);
|
| void RemoveObserver(TabManagerObserver* observer);
|
|
|
| @@ -138,6 +137,10 @@ class TabManager : public TabStripModelObserver {
|
| // Sets/clears the auto-discardable state of the tab.
|
| void SetTabAutoDiscardableState(content::WebContents* contents, bool state);
|
|
|
| + // 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, AutoDiscardable);
|
| FRIEND_TEST_ALL_PREFIXES(TabManagerTest, CanOnlyDiscardOnce);
|
| @@ -260,10 +263,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;
|
|
|