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

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

Issue 2000833002: [TabManager] Unit tests to make sure of the number of times tabs can be discarded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bug605533
Patch Set: Fixing nits Created 4 years, 7 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 909ad710a1841ae5145f4223b10af75691c41ed3..c3f4a57f9cb4f3debb746dac4c70d01df048bdd9 100644
--- a/chrome/browser/memory/tab_manager.h
+++ b/chrome/browser/memory/tab_manager.h
@@ -122,6 +122,7 @@ class TabManager : public TabStripModelObserver {
TabStatsList GetUnsortedTabStats();
private:
+ FRIEND_TEST_ALL_PREFIXES(TabManagerTest, CanOnlyDiscardOnce);
FRIEND_TEST_ALL_PREFIXES(TabManagerTest, ChildProcessNotifications);
FRIEND_TEST_ALL_PREFIXES(TabManagerTest, Comparator);
FRIEND_TEST_ALL_PREFIXES(TabManagerTest, DiscardedTabKeepsLastActiveTime);
« no previous file with comments | « no previous file | chrome/browser/memory/tab_manager_unittest.cc » ('j') | chrome/browser/memory/tab_manager_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698