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