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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "ppapi/features/features.h" | 10 #include "ppapi/features/features.h" |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data | 500 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data |
501 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids | 501 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids |
502 // prefixed with the character "t" will be treated as Trigger Variation Ids. | 502 // prefixed with the character "t" will be treated as Trigger Variation Ids. |
503 const char kForceVariationIds[] = "force-variation-ids"; | 503 const char kForceVariationIds[] = "force-variation-ids"; |
504 | 504 |
505 // Specifies which page will be displayed in newly-opened tabs. We need this | 505 // Specifies which page will be displayed in newly-opened tabs. We need this |
506 // for testing purposes so that the UI tests don't depend on what comes up for | 506 // for testing purposes so that the UI tests don't depend on what comes up for |
507 // http://google.com. | 507 // http://google.com. |
508 const char kHomePage[] = "homepage"; | 508 const char kHomePage[] = "homepage"; |
509 | 509 |
510 // The maximum number of retry attempts to resolve the host. Set this to zero | |
511 // to disable host resolver retry attempts. | |
512 const char kHostResolverRetryAttempts[] = "host-resolver-retry-attempts"; | |
513 | |
514 // Comma-separated list of rules that control how hostnames are mapped. | 510 // Comma-separated list of rules that control how hostnames are mapped. |
515 // | 511 // |
516 // For example: | 512 // For example: |
517 // "MAP * 127.0.0.1" --> Forces all hostnames to be mapped to 127.0.0.1 | 513 // "MAP * 127.0.0.1" --> Forces all hostnames to be mapped to 127.0.0.1 |
518 // "MAP *.google.com proxy" --> Forces all google.com subdomains to be | 514 // "MAP *.google.com proxy" --> Forces all google.com subdomains to be |
519 // resolved to "proxy". | 515 // resolved to "proxy". |
520 // "MAP test.com [::1]:77 --> Forces "test.com" to resolve to IPv6 loopback. | 516 // "MAP test.com [::1]:77 --> Forces "test.com" to resolve to IPv6 loopback. |
521 // Will also force the port of the resulting | 517 // Will also force the port of the resulting |
522 // socket address to be 77. | 518 // socket address to be 77. |
523 // "MAP * baz, EXCLUDE www.google.com" --> Remaps everything to "baz", | 519 // "MAP * baz, EXCLUDE www.google.com" --> Remaps everything to "baz", |
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1200 | 1196 |
1201 // ----------------------------------------------------------------------------- | 1197 // ----------------------------------------------------------------------------- |
1202 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1198 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
1203 // | 1199 // |
1204 // You were going to just dump your switches here, weren't you? Instead, please | 1200 // You were going to just dump your switches here, weren't you? Instead, please |
1205 // put them in alphabetical order above, or in order inside the appropriate | 1201 // put them in alphabetical order above, or in order inside the appropriate |
1206 // ifdef at the bottom. The order should match the header. | 1202 // ifdef at the bottom. The order should match the header. |
1207 // ----------------------------------------------------------------------------- | 1203 // ----------------------------------------------------------------------------- |
1208 | 1204 |
1209 } // namespace switches | 1205 } // namespace switches |
OLD | NEW |