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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 2325763004: ProxyServer commandline flag for android webview (Closed)
Patch Set: Added commandline switch for ProxyServer to webview Created 4 years, 3 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 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 // by kForceFirstRun. This does not drop the First Run sentinel and thus doesn't 676 // by kForceFirstRun. This does not drop the First Run sentinel and thus doesn't
677 // prevent first run from occuring the next time chrome is launched without this 677 // prevent first run from occuring the next time chrome is launched without this
678 // flag. 678 // flag.
679 const char kNoFirstRun[] = "no-first-run"; 679 const char kNoFirstRun[] = "no-first-run";
680 680
681 // Don't send hyperlink auditing pings 681 // Don't send hyperlink auditing pings
682 const char kNoPings[] = "no-pings"; 682 const char kNoPings[] = "no-pings";
683 683
684 // Don't use a proxy server, always make direct connections. Overrides any 684 // Don't use a proxy server, always make direct connections. Overrides any
685 // other proxy server flags that are passed. 685 // other proxy server flags that are passed.
686 const char kNoProxyServer[] = "no-proxy-server"; 686 const char kNoProxyServer[] = "no-proxy-server";
hush (inactive) 2016/09/09 22:24:16 I think this is another commandline flag you need
687 687
688 // Disables the service process from adding itself as an autorun process. This 688 // Disables the service process from adding itself as an autorun process. This
689 // does not delete existing autorun registrations, it just prevents the service 689 // does not delete existing autorun registrations, it just prevents the service
690 // from registering a new one. 690 // from registering a new one.
691 const char kNoServiceAutorun[] = "no-service-autorun"; 691 const char kNoServiceAutorun[] = "no-service-autorun";
692 692
693 // Does not automatically open a browser window on startup (used when 693 // Does not automatically open a browser window on startup (used when
694 // launching Chrome for the purpose of hosting background apps). 694 // launching Chrome for the purpose of hosting background apps).
695 const char kNoStartupWindow[] = "no-startup-window"; 695 const char kNoStartupWindow[] = "no-startup-window";
696 696
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 801
802 // Specifies a list of hosts for whom we bypass proxy settings and use direct 802 // Specifies a list of hosts for whom we bypass proxy settings and use direct
803 // connections. Ignored if --proxy-auto-detect or --no-proxy-server are also 803 // connections. Ignored if --proxy-auto-detect or --no-proxy-server are also
804 // specified. This is a comma-separated list of bypass rules. See: 804 // specified. This is a comma-separated list of bypass rules. See:
805 // "net/proxy/proxy_bypass_rules.h" for the format of these rules. 805 // "net/proxy/proxy_bypass_rules.h" for the format of these rules.
806 const char kProxyBypassList[] = "proxy-bypass-list"; 806 const char kProxyBypassList[] = "proxy-bypass-list";
807 807
808 // Uses the pac script at the given URL 808 // Uses the pac script at the given URL
809 const char kProxyPacUrl[] = "proxy-pac-url"; 809 const char kProxyPacUrl[] = "proxy-pac-url";
810 810
811 // Uses a specified proxy server, overrides system settings. This switch only
812 // affects HTTP and HTTPS requests. ARC-apps use only HTTP proxy server with the
813 // highest priority.
814 const char kProxyServer[] = "proxy-server";
815
816 // Specifies the time for tab purging and suspending. When the indicated time 811 // Specifies the time for tab purging and suspending. When the indicated time
817 // passes after a tab goes backgrounded, the backgrounded tab is purged and 812 // passes after a tab goes backgrounded, the backgrounded tab is purged and
818 // suspended to save memory usage. The default value is "0" and purging and 813 // suspended to save memory usage. The default value is "0" and purging and
819 // suspending never happen. 814 // suspending never happen.
820 const char kPurgeAndSuspendTime[] = "purge-and-suspend-time"; 815 const char kPurgeAndSuspendTime[] = "purge-and-suspend-time";
821 816
822 // Specifies a comma separated list of QUIC connection options to send to 817 // Specifies a comma separated list of QUIC connection options to send to
823 // the server. 818 // the server.
824 const char kQuicConnectionOptions[] = "quic-connection-options"; 819 const char kQuicConnectionOptions[] = "quic-connection-options";
825 820
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
1329 1324
1330 // ----------------------------------------------------------------------------- 1325 // -----------------------------------------------------------------------------
1331 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1326 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1332 // 1327 //
1333 // You were going to just dump your switches here, weren't you? Instead, please 1328 // You were going to just dump your switches here, weren't you? Instead, please
1334 // put them in alphabetical order above, or in order inside the appropriate 1329 // put them in alphabetical order above, or in order inside the appropriate
1335 // ifdef at the bottom. The order should match the header. 1330 // ifdef at the bottom. The order should match the header.
1336 // ----------------------------------------------------------------------------- 1331 // -----------------------------------------------------------------------------
1337 1332
1338 } // namespace switches 1333 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698