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

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

Issue 2483003004: Make purge-and-suspend-time finch experiment parameter (Closed)
Patch Set: Make purge-and-suspend-time=0 immediately purge+suspend. Instead default value is 30min. Created 4 years 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 e4d7fee434a3d3333cecdd2cf5172aea2bcec0b0..55b6d1d98314f0adcdd087b0c64379b453df24e5 100644
--- a/chrome/browser/memory/tab_manager.h
+++ b/chrome/browser/memory/tab_manager.h
@@ -366,6 +366,9 @@ class TabManager : public TabStripModelObserver {
// backgrounded.
base::TimeDelta minimum_protection_time_;
+ // A backgrounded renderer will be suspended when this time passes.
+ base::TimeDelta time_to_first_suspension_;
+
#if defined(OS_CHROMEOS)
std::unique_ptr<TabManagerDelegate> delegate_;
#endif
« 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