OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
594 // Will also force the port of the resulting | 594 // Will also force the port of the resulting |
595 // socket address to be 77. | 595 // socket address to be 77. |
596 // "MAP * baz, EXCLUDE www.google.com" --> Remaps everything to "baz", | 596 // "MAP * baz, EXCLUDE www.google.com" --> Remaps everything to "baz", |
597 // except for "www.google.com". | 597 // except for "www.google.com". |
598 // | 598 // |
599 // These mappings apply to the endpoint host in a net::URLRequest (the TCP | 599 // These mappings apply to the endpoint host in a net::URLRequest (the TCP |
600 // connect and host resolver in a direct connection, and the CONNECT in an http | 600 // connect and host resolver in a direct connection, and the CONNECT in an http |
601 // proxy connection, and the endpoint host in a SOCKS proxy connection). | 601 // proxy connection, and the endpoint host in a SOCKS proxy connection). |
602 const char kHostRules[] = "host-rules"; | 602 const char kHostRules[] = "host-rules"; |
603 | 603 |
604 // The maximum number of concurrent host resolve requests (i.e. DNS) to allow. | 604 // The maximum number of concurrent host resolve requests (i.e. DNS) to allow |
605 // (not counting potential duplicate attempts). | |
eroman
2011/05/16 23:26:08
please elaborate this more, mention that the --hos
ramant (doing other things)
2011/05/17 18:46:25
Done.
| |
605 const char kHostResolverParallelism[] = "host-resolver-parallelism"; | 606 const char kHostResolverParallelism[] = "host-resolver-parallelism"; |
606 | 607 |
608 // The maximum number of retry attempts to resolve the host. | |
609 const char kHostResolverRetryAttempts[] = "host-resolver-retry-attempts"; | |
610 | |
607 // These mappings only apply to the host resolver. | 611 // These mappings only apply to the host resolver. |
608 const char kHostResolverRules[] = "host-resolver-rules"; | 612 const char kHostResolverRules[] = "host-resolver-rules"; |
609 | 613 |
610 // This switch will take the JSON-formatted HSTS specification and load it | 614 // This switch will take the JSON-formatted HSTS specification and load it |
611 // as if it were a preloaded HSTS entry. It will take precedence over both | 615 // as if it were a preloaded HSTS entry. It will take precedence over both |
612 // website-specified rules and built-in rules. | 616 // website-specified rules and built-in rules. |
613 // The JSON format is the same as that persisted in | 617 // The JSON format is the same as that persisted in |
614 // <profile_dir>/Default/TransportSecurity | 618 // <profile_dir>/Default/TransportSecurity |
615 const char kHstsHosts[] = "hsts-hosts"; | 619 const char kHstsHosts[] = "hsts-hosts"; |
616 | 620 |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1173 | 1177 |
1174 // ----------------------------------------------------------------------------- | 1178 // ----------------------------------------------------------------------------- |
1175 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1179 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1176 // | 1180 // |
1177 // You were going to just dump your switches here, weren't you? Instead, | 1181 // You were going to just dump your switches here, weren't you? Instead, |
1178 // please put them in alphabetical order above, or in order inside the | 1182 // please put them in alphabetical order above, or in order inside the |
1179 // appropriate ifdef at the bottom. The order should match the header. | 1183 // appropriate ifdef at the bottom. The order should match the header. |
1180 // ----------------------------------------------------------------------------- | 1184 // ----------------------------------------------------------------------------- |
1181 | 1185 |
1182 } // namespace switches | 1186 } // namespace switches |
OLD | NEW |