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

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: 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 const char kProxyBypassList[] = "proxy-bypass-list"; 875 const char kProxyBypassList[] = "proxy-bypass-list";
876 876
877 // Uses the pac script at the given URL 877 // Uses the pac script at the given URL
878 const char kProxyPacUrl[] = "proxy-pac-url"; 878 const char kProxyPacUrl[] = "proxy-pac-url";
879 879
880 // Uses a specified proxy server, overrides system settings. This switch only 880 // Uses a specified proxy server, overrides system settings. This switch only
881 // affects HTTP and HTTPS requests. ARC-apps use only HTTP proxy server with the 881 // affects HTTP and HTTPS requests. ARC-apps use only HTTP proxy server with the
882 // highest priority. 882 // highest priority.
883 const char kProxyServer[] = "proxy-server"; 883 const char kProxyServer[] = "proxy-server";
884 884
885 // Specifies the time for tab purging and suspending. When the indicated time
886 // passes after a tab goes backgrounded, the backgrounded tab is purged and
887 // suspended to save memory usage. The default value is "0" and purging and
888 // suspending never happen.
889 const char kPurgeAndSuspendTime[] = "purge-and-suspend-time";
890
885 // Specifies a comma separated list of QUIC connection options to send to 891 // Specifies a comma separated list of QUIC connection options to send to
886 // the server. 892 // the server.
887 const char kQuicConnectionOptions[] = "quic-connection-options"; 893 const char kQuicConnectionOptions[] = "quic-connection-options";
888 894
889 // Specifies a comma separated list of hosts to whitelist QUIC for. 895 // Specifies a comma separated list of hosts to whitelist QUIC for.
890 const char kQuicHostWhitelist[] = "quic-host-whitelist"; 896 const char kQuicHostWhitelist[] = "quic-host-whitelist";
891 897
892 // Specifies the maximum length for a QUIC packet. 898 // Specifies the maximum length for a QUIC packet.
893 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; 899 const char kQuicMaxPacketLength[] = "quic-max-packet-length";
894 900
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
1363 1369
1364 // ----------------------------------------------------------------------------- 1370 // -----------------------------------------------------------------------------
1365 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1371 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1366 // 1372 //
1367 // You were going to just dump your switches here, weren't you? Instead, please 1373 // You were going to just dump your switches here, weren't you? Instead, please
1368 // put them in alphabetical order above, or in order inside the appropriate 1374 // put them in alphabetical order above, or in order inside the appropriate
1369 // ifdef at the bottom. The order should match the header. 1375 // ifdef at the bottom. The order should match the header.
1370 // ----------------------------------------------------------------------------- 1376 // -----------------------------------------------------------------------------
1371 1377
1372 } // namespace switches 1378 } // namespace switches
OLDNEW
« 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