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

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 reviews 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
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 3a833f8880afc94325658918577290eaf49a2430..0d268b7904386f2aa2a1d970fe34f92c30dc121d 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -874,6 +874,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