OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |