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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 // is needed for a domain which shares an IP with an existing connection, | 634 // is needed for a domain which shares an IP with an existing connection, |
635 // attempt to use the existing connection. | 635 // attempt to use the existing connection. |
636 const char kEnableIPPooling[] = "enable-ip-pooling"; | 636 const char kEnableIPPooling[] = "enable-ip-pooling"; |
637 | 637 |
638 // Enables experimentation with launching ephemeral apps via hyperlinks. | 638 // Enables experimentation with launching ephemeral apps via hyperlinks. |
639 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; | 639 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; |
640 | 640 |
641 // Enable always using the local NTP for the first NTP load of a new window. | 641 // Enable always using the local NTP for the first NTP load of a new window. |
642 const char kEnableLocalFirstLoadNTP[] = "enable-local-first-load-ntp"; | 642 const char kEnableLocalFirstLoadNTP[] = "enable-local-first-load-ntp"; |
643 | 643 |
644 // Make the values returned to window.performance.memory more granular and more | |
645 // up to date. Without this flag, the memory information is still available, but | |
646 // it is bucketized and updated less frequently. | |
647 const char kEnableMemoryInfo[] = "enable-memory-info"; | |
648 | |
649 // Enables metrics recording and reporting in the browser startup sequence, as | 644 // Enables metrics recording and reporting in the browser startup sequence, as |
650 // if this was an official Chrome build where the user allowed metrics | 645 // if this was an official Chrome build where the user allowed metrics |
651 // reporting. This is used for testing only. | 646 // reporting. This is used for testing only. |
652 const char kEnableMetricsReportingForTesting[] = | 647 const char kEnableMetricsReportingForTesting[] = |
653 "enable-metrics-reporting-for-testing"; | 648 "enable-metrics-reporting-for-testing"; |
654 | 649 |
655 // Runs the Native Client inside the renderer process and enables GPU plugin | 650 // Runs the Native Client inside the renderer process and enables GPU plugin |
656 // (internally adds lEnableGpuPlugin to the command line). | 651 // (internally adds lEnableGpuPlugin to the command line). |
657 const char kEnableNaCl[] = "enable-nacl"; | 652 const char kEnableNaCl[] = "enable-nacl"; |
658 | 653 |
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1669 | 1664 |
1670 // ----------------------------------------------------------------------------- | 1665 // ----------------------------------------------------------------------------- |
1671 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1666 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1672 // | 1667 // |
1673 // You were going to just dump your switches here, weren't you? Instead, please | 1668 // You were going to just dump your switches here, weren't you? Instead, please |
1674 // put them in alphabetical order above, or in order inside the appropriate | 1669 // put them in alphabetical order above, or in order inside the appropriate |
1675 // ifdef at the bottom. The order should match the header. | 1670 // ifdef at the bottom. The order should match the header. |
1676 // ----------------------------------------------------------------------------- | 1671 // ----------------------------------------------------------------------------- |
1677 | 1672 |
1678 } // namespace switches | 1673 } // namespace switches |
OLD | NEW |