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 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 // thread, including APC count, object signalling count, etc. | 883 // thread, including APC count, object signalling count, etc. |
884 const char kMessageLoopHistogrammer[] = "message-loop-histogrammer"; | 884 const char kMessageLoopHistogrammer[] = "message-loop-histogrammer"; |
885 | 885 |
886 // Enables the recording of metrics reports but disables reporting. In contrast | 886 // Enables the recording of metrics reports but disables reporting. In contrast |
887 // to kDisableMetrics, this executes all the code that a normal client would | 887 // to kDisableMetrics, this executes all the code that a normal client would |
888 // use for reporting, except the report is dropped rather than sent to the | 888 // use for reporting, except the report is dropped rather than sent to the |
889 // server. This is useful for finding issues in the metrics code during UI and | 889 // server. This is useful for finding issues in the metrics code during UI and |
890 // performance tests. | 890 // performance tests. |
891 const char kMetricsRecordingOnly[] = "metrics-recording-only"; | 891 const char kMetricsRecordingOnly[] = "metrics-recording-only"; |
892 | 892 |
893 // Enables multiprofile Chrome. | |
894 const char kMultiProfiles[] = "multi-profiles"; | |
895 | |
896 // Sets the base logging level for the net log. Log 0 logs the most data. | 893 // Sets the base logging level for the net log. Log 0 logs the most data. |
897 // Intended primarily for use with --log-net-log. | 894 // Intended primarily for use with --log-net-log. |
898 const char kNetLogLevel[] = "net-log-level"; | 895 const char kNetLogLevel[] = "net-log-level"; |
899 | 896 |
900 // Disables the default browser check. Useful for UI/browser tests where we | 897 // Disables the default browser check. Useful for UI/browser tests where we |
901 // want to avoid having the default browser info-bar displayed. | 898 // want to avoid having the default browser info-bar displayed. |
902 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; | 899 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; |
903 | 900 |
904 // By default, an https page can load images, fonts or frames from an http | 901 // By default, an https page can load images, fonts or frames from an http |
905 // page. This switch overrides this to block this lesser mixed-content problem. | 902 // page. This switch overrides this to block this lesser mixed-content problem. |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1452 | 1449 |
1453 // ----------------------------------------------------------------------------- | 1450 // ----------------------------------------------------------------------------- |
1454 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1451 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1455 // | 1452 // |
1456 // You were going to just dump your switches here, weren't you? Instead, please | 1453 // You were going to just dump your switches here, weren't you? Instead, please |
1457 // put them in alphabetical order above, or in order inside the appropriate | 1454 // put them in alphabetical order above, or in order inside the appropriate |
1458 // ifdef at the bottom. The order should match the header. | 1455 // ifdef at the bottom. The order should match the header. |
1459 // ----------------------------------------------------------------------------- | 1456 // ----------------------------------------------------------------------------- |
1460 | 1457 |
1461 } // namespace switches | 1458 } // namespace switches |
OLD | NEW |