Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: chrome/browser/memory/tab_manager.h

Issue 2095413002: TabManagerDelegate: Better prioritize ARC processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/memory/tab_manager.h
diff --git a/chrome/browser/memory/tab_manager.h b/chrome/browser/memory/tab_manager.h
index dabc801cd1e2871957456bb63947274dfb2f7a68..55293322669299d3fc14843f2ee7f0f977b10827 100644
--- a/chrome/browser/memory/tab_manager.h
+++ b/chrome/browser/memory/tab_manager.h
@@ -122,6 +122,10 @@ class TabManager : public TabStripModelObserver {
// thread.
TabStatsList GetUnsortedTabStats();
+ // Returns true if |first| is considered less desirable to be killed than
+ // |second|.
+ static bool CompareTabStats(TabStats first, TabStats second);
+
private:
FRIEND_TEST_ALL_PREFIXES(TabManagerTest, CanOnlyDiscardOnce);
FRIEND_TEST_ALL_PREFIXES(TabManagerTest, ChildProcessNotifications);
@@ -230,10 +234,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;

Powered by Google App Engine
This is Rietveld 408576698