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

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

Issue 2704443006: Make time_to_first_suspension's default 1800sec (Closed)
Patch Set: Fixed. Created 3 years, 10 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.cc
diff --git a/chrome/browser/memory/tab_manager.cc b/chrome/browser/memory/tab_manager.cc
index 56aae1cde41797cce72fee5f6f612945155a9911..cfc57fa94fd1cf4d64af5d7540d3caf6c5ac8446 100644
--- a/chrome/browser/memory/tab_manager.cc
+++ b/chrome/browser/memory/tab_manager.cc
@@ -230,7 +230,7 @@ void TabManager::Start() {
if (purge_and_suspend_time.empty() ||
!base::StringToUint(purge_and_suspend_time,
&time_to_first_suspension_sec))
- time_to_first_suspension_sec = 108000;
+ time_to_first_suspension_sec = kDefaultTimeToFirstPurgeInSeconds;
time_to_first_suspension_ =
base::TimeDelta::FromSeconds(time_to_first_suspension_sec);
}

Powered by Google App Engine
This is Rietveld 408576698