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

Unified Diff: chrome/common/chrome_switches.cc

Issue 1914143002: Experimental 'purging and suspending' backgrounded tabs behind the flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address on haraken's review 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 | « chrome/common/chrome_switches.h ('k') | components/scheduler/renderer/renderer_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 09ba0d3d697b19306ac5589348b7262e7011e20a..d2429e49a99af1b1ae3a2a01f16381bb81b202e0 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -882,6 +882,12 @@ const char kProxyPacUrl[] = "proxy-pac-url";
// highest priority.
const char kProxyServer[] = "proxy-server";
+// Specifies the time for tab purging and suspending. When the indicated time
+// passes after a tab goes backgrounded, the backgrounded tab is purged and
+// suspended to save memory usage. The default value is "0" and purging and
+// suspending never happen.
+const char kPurgeAndSuspendTime[] = "purge-and-suspend-time";
+
// Specifies a comma separated list of QUIC connection options to send to
// the server.
const char kQuicConnectionOptions[] = "quic-connection-options";
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | components/scheduler/renderer/renderer_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698