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

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

Issue 815853006: Removing --host-resolver-parallelism flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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') | no next file » | 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 9
10 namespace switches { 10 namespace switches {
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 // Will also force the port of the resulting 731 // Will also force the port of the resulting
732 // socket address to be 77. 732 // socket address to be 77.
733 // "MAP * baz, EXCLUDE www.google.com" --> Remaps everything to "baz", 733 // "MAP * baz, EXCLUDE www.google.com" --> Remaps everything to "baz",
734 // except for "www.google.com". 734 // except for "www.google.com".
735 // 735 //
736 // These mappings apply to the endpoint host in a net::URLRequest (the TCP 736 // These mappings apply to the endpoint host in a net::URLRequest (the TCP
737 // connect and host resolver in a direct connection, and the CONNECT in an http 737 // connect and host resolver in a direct connection, and the CONNECT in an http
738 // proxy connection, and the endpoint host in a SOCKS proxy connection). 738 // proxy connection, and the endpoint host in a SOCKS proxy connection).
739 const char kHostRules[] = "host-rules"; 739 const char kHostRules[] = "host-rules";
740 740
741 // The maximum number of concurrent host resolve requests (i.e. DNS) to allow
742 // (not counting backup attempts which would also consume threads).
743 // --host-resolver-retry-attempts must be set to zero for this to be exact.
744 const char kHostResolverParallelism[] = "host-resolver-parallelism";
745
746 // The maximum number of retry attempts to resolve the host. Set this to zero 741 // The maximum number of retry attempts to resolve the host. Set this to zero
747 // to disable host resolver retry attempts. 742 // to disable host resolver retry attempts.
748 const char kHostResolverRetryAttempts[] = "host-resolver-retry-attempts"; 743 const char kHostResolverRetryAttempts[] = "host-resolver-retry-attempts";
749 744
750 // Causes net::URLFetchers to ignore requests for SSL client certificates, 745 // Causes net::URLFetchers to ignore requests for SSL client certificates,
751 // causing them to attempt an unauthenticated SSL/TLS session. This is intended 746 // causing them to attempt an unauthenticated SSL/TLS session. This is intended
752 // for use when testing various service URLs (eg: kPromoServerURL, kSbURLPrefix, 747 // for use when testing various service URLs (eg: kPromoServerURL, kSbURLPrefix,
753 // kSyncServiceURL, etc) 748 // kSyncServiceURL, etc)
754 const char kIgnoreUrlFetcherCertRequests[] = 749 const char kIgnoreUrlFetcherCertRequests[] =
755 "ignore-urlfetcher-cert-requests"; 750 "ignore-urlfetcher-cert-requests";
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
1426 1421
1427 // ----------------------------------------------------------------------------- 1422 // -----------------------------------------------------------------------------
1428 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1423 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1429 // 1424 //
1430 // You were going to just dump your switches here, weren't you? Instead, please 1425 // You were going to just dump your switches here, weren't you? Instead, please
1431 // put them in alphabetical order above, or in order inside the appropriate 1426 // put them in alphabetical order above, or in order inside the appropriate
1432 // ifdef at the bottom. The order should match the header. 1427 // ifdef at the bottom. The order should match the header.
1433 // ----------------------------------------------------------------------------- 1428 // -----------------------------------------------------------------------------
1434 1429
1435 } // namespace switches 1430 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698