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

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

Issue 2704443006: Make time_to_first_suspension's default 1800sec (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..78f6d2d5d2a28f2b6f56488d00aa7d005fee50c0 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 = 1800;
Wez 2017/02/17 07:39:17 Please define this as a constant e.g. kDefaultTime
tasak 2017/02/17 12:36:06 Changed to use kDefaultTimeToFirstSuspensionSecond
Wez 2017/02/17 19:03:14 There doesn't need to be a _string_ reason, just s
Wez 2017/02/17 19:26:32 s/string/strong ;)
time_to_first_suspension_ =
base::TimeDelta::FromSeconds(time_to_first_suspension_sec);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698