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/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
6 | 6 |
7 #include <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 2203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2214 }, | 2214 }, |
2215 #if defined(OS_CHROMEOS) && defined(USE_OZONE) | 2215 #if defined(OS_CHROMEOS) && defined(USE_OZONE) |
2216 { | 2216 { |
2217 "ozone-test-single-overlay-support", | 2217 "ozone-test-single-overlay-support", |
2218 IDS_FLAGS_OZONE_TEST_SINGLE_HARDWARE_OVERLAY, | 2218 IDS_FLAGS_OZONE_TEST_SINGLE_HARDWARE_OVERLAY, |
2219 IDS_FLAGS_OZONE_TEST_SINGLE_HARDWARE_OVERLAY_DESCRIPTION, | 2219 IDS_FLAGS_OZONE_TEST_SINGLE_HARDWARE_OVERLAY_DESCRIPTION, |
2220 kOsCrOS, | 2220 kOsCrOS, |
2221 SINGLE_VALUE_TYPE(switches::kOzoneTestSingleOverlaySupport) | 2221 SINGLE_VALUE_TYPE(switches::kOzoneTestSingleOverlaySupport) |
2222 }, | 2222 }, |
2223 #endif // defined(OS_CHROMEOS) && defined(USE_OZONE) | 2223 #endif // defined(OS_CHROMEOS) && defined(USE_OZONE) |
| 2224 { |
| 2225 "enable-cert-collection", |
| 2226 IDS_ENABLE_INVALID_CERT_COLLECTION, |
| 2227 IDS_ENABLE_INVALID_CERT_COLLECTION_DESCRIPTION, |
| 2228 kOsAll, |
| 2229 SINGLE_VALUE_TYPE(switches::kEnableInvalidCertCollection) |
| 2230 }, |
2224 | 2231 |
2225 // NOTE: Adding new command-line switches requires adding corresponding | 2232 // NOTE: Adding new command-line switches requires adding corresponding |
2226 // entries to enum "LoginCustomFlags" in histograms.xml. See note in | 2233 // entries to enum "LoginCustomFlags" in histograms.xml. See note in |
2227 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. | 2234 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. |
2228 }; | 2235 }; |
2229 | 2236 |
2230 const Experiment* experiments = kExperiments; | 2237 const Experiment* experiments = kExperiments; |
2231 size_t num_experiments = arraysize(kExperiments); | 2238 size_t num_experiments = arraysize(kExperiments); |
2232 | 2239 |
2233 // Stores and encapsulates the little state that about:flags has. | 2240 // Stores and encapsulates the little state that about:flags has. |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2817 } | 2824 } |
2818 | 2825 |
2819 const Experiment* GetExperiments(size_t* count) { | 2826 const Experiment* GetExperiments(size_t* count) { |
2820 *count = num_experiments; | 2827 *count = num_experiments; |
2821 return experiments; | 2828 return experiments; |
2822 } | 2829 } |
2823 | 2830 |
2824 } // namespace testing | 2831 } // namespace testing |
2825 | 2832 |
2826 } // namespace about_flags | 2833 } // namespace about_flags |
OLD | NEW |