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

Side by Side 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, 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 const char kProxyBypassList[] = "proxy-bypass-list"; 864 const char kProxyBypassList[] = "proxy-bypass-list";
865 865
866 // Uses the pac script at the given URL 866 // Uses the pac script at the given URL
867 const char kProxyPacUrl[] = "proxy-pac-url"; 867 const char kProxyPacUrl[] = "proxy-pac-url";
868 868
869 // Uses a specified proxy server, overrides system settings. This switch only 869 // Uses a specified proxy server, overrides system settings. This switch only
870 // affects HTTP and HTTPS requests. ARC-apps use only HTTP proxy server with the 870 // affects HTTP and HTTPS requests. ARC-apps use only HTTP proxy server with the
871 // highest priority. 871 // highest priority.
872 const char kProxyServer[] = "proxy-server"; 872 const char kProxyServer[] = "proxy-server";
873 873
874 // Specifies the time for tab purging and suspending. When the indicated time
875 // passes after a tab goes backgrounded, the backgrounded tab is purged and
876 // suspended to save memory usage. The default value is "0" and purging and
877 // suspending never happen.
878 const char kPurgeAndSuspendTime[] = "purge-and-suspend-time";
879
874 // Specifies a comma separated list of QUIC connection options to send to 880 // Specifies a comma separated list of QUIC connection options to send to
875 // the server. 881 // the server.
876 const char kQuicConnectionOptions[] = "quic-connection-options"; 882 const char kQuicConnectionOptions[] = "quic-connection-options";
877 883
878 // Specifies a comma separated list of hosts to whitelist QUIC for. 884 // Specifies a comma separated list of hosts to whitelist QUIC for.
879 const char kQuicHostWhitelist[] = "quic-host-whitelist"; 885 const char kQuicHostWhitelist[] = "quic-host-whitelist";
880 886
881 // Specifies the maximum length for a QUIC packet. 887 // Specifies the maximum length for a QUIC packet.
882 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; 888 const char kQuicMaxPacketLength[] = "quic-max-packet-length";
883 889
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 1350
1345 // ----------------------------------------------------------------------------- 1351 // -----------------------------------------------------------------------------
1346 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1352 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1347 // 1353 //
1348 // You were going to just dump your switches here, weren't you? Instead, please 1354 // You were going to just dump your switches here, weren't you? Instead, please
1349 // put them in alphabetical order above, or in order inside the appropriate 1355 // put them in alphabetical order above, or in order inside the appropriate
1350 // ifdef at the bottom. The order should match the header. 1356 // ifdef at the bottom. The order should match the header.
1351 // ----------------------------------------------------------------------------- 1357 // -----------------------------------------------------------------------------
1352 1358
1353 } // namespace switches 1359 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698