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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
509 | 509 |
510 // Enables IPv6 support, even if probes suggest that it may not be fully | 510 // Enables IPv6 support, even if probes suggest that it may not be fully |
511 // supported. Some probes may require internet connections, and this flag will | 511 // supported. Some probes may require internet connections, and this flag will |
512 // allow support independent of application testing. This flag overrides | 512 // allow support independent of application testing. This flag overrides |
513 // "disable-ipv6" which appears elswhere in this file. | 513 // "disable-ipv6" which appears elswhere in this file. |
514 const char kEnableIPv6[] = "enable-ipv6"; | 514 const char kEnableIPv6[] = "enable-ipv6"; |
515 | 515 |
516 // Enables experimentation with launching ephemeral apps via hyperlinks. | 516 // Enables experimentation with launching ephemeral apps via hyperlinks. |
517 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; | 517 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; |
518 | 518 |
| 519 // Enables metrics recording and reporting in the browser startup sequence, as |
| 520 // if this was an official Chrome build where the user allowed metrics |
| 521 // reporting. This is used for testing only. |
| 522 const char kEnableMetricsReportingForTesting[] = |
| 523 "enable-metrics-reporting-for-testing"; |
| 524 |
519 // Runs the Native Client inside the renderer process and enables GPU plugin | 525 // Runs the Native Client inside the renderer process and enables GPU plugin |
520 // (internally adds lEnableGpuPlugin to the command line). | 526 // (internally adds lEnableGpuPlugin to the command line). |
521 const char kEnableNaCl[] = "enable-nacl"; | 527 const char kEnableNaCl[] = "enable-nacl"; |
522 | 528 |
523 // Enables the network-related benchmarking extensions. | 529 // Enables the network-related benchmarking extensions. |
524 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; | 530 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; |
525 | 531 |
526 // Enables |NetworkTimeService| to convert local time to network time. | 532 // Enables |NetworkTimeService| to convert local time to network time. |
527 const char kEnableNetworkTime[] = "enable-network-time"; | 533 const char kEnableNetworkTime[] = "enable-network-time"; |
528 | 534 |
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1423 | 1429 |
1424 // ----------------------------------------------------------------------------- | 1430 // ----------------------------------------------------------------------------- |
1425 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1431 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1426 // | 1432 // |
1427 // You were going to just dump your switches here, weren't you? Instead, please | 1433 // You were going to just dump your switches here, weren't you? Instead, please |
1428 // put them in alphabetical order above, or in order inside the appropriate | 1434 // put them in alphabetical order above, or in order inside the appropriate |
1429 // ifdef at the bottom. The order should match the header. | 1435 // ifdef at the bottom. The order should match the header. |
1430 // ----------------------------------------------------------------------------- | 1436 // ----------------------------------------------------------------------------- |
1431 | 1437 |
1432 } // namespace switches | 1438 } // namespace switches |
OLD | NEW |