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

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: Created 4 years, 8 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/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index b1b16bae6dcf200d499edd9de708e288ae116254..2bb2b1628ea3ae1c74a8eb02a49b317382093bff 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -871,6 +871,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";

Powered by Google App Engine
This is Rietveld 408576698