Chromium Code Reviews| 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 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 881 const char kMessageLoopHistogrammer[] = "message-loop-histogrammer"; | 881 const char kMessageLoopHistogrammer[] = "message-loop-histogrammer"; |
| 882 | 882 |
| 883 // Enables the recording of metrics reports but disables reporting. In contrast | 883 // Enables the recording of metrics reports but disables reporting. In contrast |
| 884 // to kDisableMetrics, this executes all the code that a normal client would | 884 // to kDisableMetrics, this executes all the code that a normal client would |
| 885 // use for reporting, except the report is dropped rather than sent to the | 885 // use for reporting, except the report is dropped rather than sent to the |
| 886 // server. This is useful for finding issues in the metrics code during UI and | 886 // server. This is useful for finding issues in the metrics code during UI and |
| 887 // performance tests. | 887 // performance tests. |
| 888 const char kMetricsRecordingOnly[] = "metrics-recording-only"; | 888 const char kMetricsRecordingOnly[] = "metrics-recording-only"; |
| 889 | 889 |
| 890 // Enables multiprofile Chrome. | 890 // Enables multiprofile Chrome. |
| 891 const char kMultiProfiles[] = "multi-profiles"; | 891 // TODO(zelidrag): Remove this one completely in M-38+ once most profiles |
|
Nikita (slow)
2014/05/19 14:27:15
What about users that will update from pre-M-37 pr
zel
2014/05/19 18:06:27
Actually, it seems that we don't have to do this t
| |
| 892 // that got infected with it through about://flags are cleaned. | |
| 893 const char kMultiProfilesObsolete[] = "multi-profiles"; | |
| 892 | 894 |
| 893 // Sets the base logging level for the net log. Log 0 logs the most data. | 895 // Sets the base logging level for the net log. Log 0 logs the most data. |
| 894 // Intended primarily for use with --log-net-log. | 896 // Intended primarily for use with --log-net-log. |
| 895 const char kNetLogLevel[] = "net-log-level"; | 897 const char kNetLogLevel[] = "net-log-level"; |
| 896 | 898 |
| 897 // Disables the default browser check. Useful for UI/browser tests where we | 899 // Disables the default browser check. Useful for UI/browser tests where we |
| 898 // want to avoid having the default browser info-bar displayed. | 900 // want to avoid having the default browser info-bar displayed. |
| 899 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; | 901 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; |
| 900 | 902 |
| 901 // By default, an https page can load images, fonts or frames from an http | 903 // By default, an https page can load images, fonts or frames from an http |
| (...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1459 | 1461 |
| 1460 // ----------------------------------------------------------------------------- | 1462 // ----------------------------------------------------------------------------- |
| 1461 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1463 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1462 // | 1464 // |
| 1463 // You were going to just dump your switches here, weren't you? Instead, please | 1465 // You were going to just dump your switches here, weren't you? Instead, please |
| 1464 // put them in alphabetical order above, or in order inside the appropriate | 1466 // put them in alphabetical order above, or in order inside the appropriate |
| 1465 // ifdef at the bottom. The order should match the header. | 1467 // ifdef at the bottom. The order should match the header. |
| 1466 // ----------------------------------------------------------------------------- | 1468 // ----------------------------------------------------------------------------- |
| 1467 | 1469 |
| 1468 } // namespace switches | 1470 } // namespace switches |
| OLD | NEW |