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

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

Issue 1978343002: [TabManager] Start function refactoring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [TabManager] start function refactoring. 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
« no previous file with comments | « no previous file | chrome/browser/memory/tab_manager.cc » ('j') | chrome/browser/memory/tab_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory/tab_manager.h
diff --git a/chrome/browser/memory/tab_manager.h b/chrome/browser/memory/tab_manager.h
index 2f82d0c81cdb1e71a4cab90b6a7cd94eb5726a3e..1c1c673f11e088cfb081e6fef7b5582359f326cc 100644
--- a/chrome/browser/memory/tab_manager.h
+++ b/chrome/browser/memory/tab_manager.h
@@ -243,6 +243,9 @@ class TabManager : public TabStripModelObserver {
// Implementation of DiscardTab.
bool DiscardTabImpl();
+ // Returns true if tabs can be discarded only once.
+ bool ShouldOnlyDiscardOnce();
Georges Khalil 2016/05/17 15:18:01 nit: Finally, I think CanOnlyDiscardOnce makes mor
Anderson Silva 2016/05/17 15:34:07 Acknowledged.
+
// Timer to periodically update the stats of the renderers.
base::RepeatingTimer update_timer_;
« no previous file with comments | « no previous file | chrome/browser/memory/tab_manager.cc » ('j') | chrome/browser/memory/tab_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698