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 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 const char kSupervisedUserSyncToken[] = "managed-user-sync-token"; | 825 const char kSupervisedUserSyncToken[] = "managed-user-sync-token"; |
826 | 826 |
827 // Use to opt-in user into Finch experiment groups. | 827 // Use to opt-in user into Finch experiment groups. |
828 const char kManualEnhancedBookmarks[] = "manual-enhanced-bookmarks"; | 828 const char kManualEnhancedBookmarks[] = "manual-enhanced-bookmarks"; |
829 const char kManualEnhancedBookmarksOptout[] = | 829 const char kManualEnhancedBookmarksOptout[] = |
830 "manual-enhanced-bookmarks-optout"; | 830 "manual-enhanced-bookmarks-optout"; |
831 | 831 |
832 // Forces the maximum disk space to be used by the media cache, in bytes. | 832 // Forces the maximum disk space to be used by the media cache, in bytes. |
833 const char kMediaCacheSize[] = "media-cache-size"; | 833 const char kMediaCacheSize[] = "media-cache-size"; |
834 | 834 |
835 // Enables dynamic loading of the Memory Profiler DLL, which will trace all | |
836 // memory allocations during the run. | |
837 const char kMemoryProfiling[] = "memory-profile"; | |
838 | |
839 // Enables histograming of tasks served by MessageLoop. See | 835 // Enables histograming of tasks served by MessageLoop. See |
840 // about:histograms/Loop for results, which show frequency of messages on each | 836 // about:histograms/Loop for results, which show frequency of messages on each |
841 // thread, including APC count, object signalling count, etc. | 837 // thread, including APC count, object signalling count, etc. |
842 const char kMessageLoopHistogrammer[] = "message-loop-histogrammer"; | 838 const char kMessageLoopHistogrammer[] = "message-loop-histogrammer"; |
843 | 839 |
844 // Enables the recording of metrics reports but disables reporting. In contrast | 840 // Enables the recording of metrics reports but disables reporting. In contrast |
845 // to kDisableMetrics, this executes all the code that a normal client would | 841 // to kDisableMetrics, this executes all the code that a normal client would |
846 // use for reporting, except the report is dropped rather than sent to the | 842 // use for reporting, except the report is dropped rather than sent to the |
847 // server. This is useful for finding issues in the metrics code during UI and | 843 // server. This is useful for finding issues in the metrics code during UI and |
848 // performance tests. | 844 // performance tests. |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1406 | 1402 |
1407 // ----------------------------------------------------------------------------- | 1403 // ----------------------------------------------------------------------------- |
1408 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1404 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1409 // | 1405 // |
1410 // You were going to just dump your switches here, weren't you? Instead, please | 1406 // You were going to just dump your switches here, weren't you? Instead, please |
1411 // put them in alphabetical order above, or in order inside the appropriate | 1407 // put them in alphabetical order above, or in order inside the appropriate |
1412 // ifdef at the bottom. The order should match the header. | 1408 // ifdef at the bottom. The order should match the header. |
1413 // ----------------------------------------------------------------------------- | 1409 // ----------------------------------------------------------------------------- |
1414 | 1410 |
1415 } // namespace switches | 1411 } // namespace switches |
OLD | NEW |