OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 // For example: | 690 // For example: |
691 // "MAP * 127.0.0.1" --> Forces all hostnames to be mapped to 127.0.0.1 | 691 // "MAP * 127.0.0.1" --> Forces all hostnames to be mapped to 127.0.0.1 |
692 // "MAP *.google.com proxy" --> Forces all google.com subdomains to be | 692 // "MAP *.google.com proxy" --> Forces all google.com subdomains to be |
693 // resolved to "proxy". | 693 // resolved to "proxy". |
694 // "MAP test.com [::1]:77 --> Forces "test.com" to resolve to IPv6 loopback. | 694 // "MAP test.com [::1]:77 --> Forces "test.com" to resolve to IPv6 loopback. |
695 // Will also force the port of the resulting | 695 // Will also force the port of the resulting |
696 // socket address to be 77. | 696 // socket address to be 77. |
697 // "MAP * baz, EXCLUDE www.google.com" --> Remaps everything to "baz", | 697 // "MAP * baz, EXCLUDE www.google.com" --> Remaps everything to "baz", |
698 // except for "www.google.com". | 698 // except for "www.google.com". |
699 // | 699 // |
700 // These mappings apply to the endpoint host in a URLRequest (the TCP connect | 700 // These mappings apply to the endpoint host in a net::URLRequest (the TCP |
701 // and host resolver in a direct connection, and the CONNECT in an http proxy | 701 // connect and host resolver in a direct connection, and the CONNECT in an http |
702 // connection, and the endpoint host in a SOCKS proxy connection). | 702 // proxy connection, and the endpoint host in a SOCKS proxy connection). |
703 const char kHostRules[] = "host-rules"; | 703 const char kHostRules[] = "host-rules"; |
704 | 704 |
705 // The maximum number of concurrent host resolve requests (i.e. DNS) to allow. | 705 // The maximum number of concurrent host resolve requests (i.e. DNS) to allow. |
706 const char kHostResolverParallelism[] = "host-resolver-parallelism"; | 706 const char kHostResolverParallelism[] = "host-resolver-parallelism"; |
707 | 707 |
708 // These mappings only apply to the host resolver. | 708 // These mappings only apply to the host resolver. |
709 const char kHostResolverRules[] = "host-resolver-rules"; | 709 const char kHostResolverRules[] = "host-resolver-rules"; |
710 | 710 |
711 // Perform importing from another browser. The value associated with this | 711 // Perform importing from another browser. The value associated with this |
712 // setting encodes the target browser and what items to import. | 712 // setting encodes the target browser and what items to import. |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1354 | 1354 |
1355 // ----------------------------------------------------------------------------- | 1355 // ----------------------------------------------------------------------------- |
1356 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1356 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1357 // | 1357 // |
1358 // You were going to just dump your switches here, weren't you? Instead, | 1358 // You were going to just dump your switches here, weren't you? Instead, |
1359 // please put them in alphabetical order above, or in order inside the | 1359 // please put them in alphabetical order above, or in order inside the |
1360 // appropriate ifdef at the bottom. The order should match the header. | 1360 // appropriate ifdef at the bottom. The order should match the header. |
1361 // ----------------------------------------------------------------------------- | 1361 // ----------------------------------------------------------------------------- |
1362 | 1362 |
1363 } // namespace switches | 1363 } // namespace switches |
OLD | NEW |