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 2248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2259 SINGLE_VALUE_TYPE(switches::kOzoneTestSingleOverlaySupport) | 2259 SINGLE_VALUE_TYPE(switches::kOzoneTestSingleOverlaySupport) |
2260 }, | 2260 }, |
2261 #endif // defined(OS_CHROMEOS) && defined(USE_OZONE) | 2261 #endif // defined(OS_CHROMEOS) && defined(USE_OZONE) |
2262 { | 2262 { |
2263 "v8-pac-mojo-out-of-process", | 2263 "v8-pac-mojo-out-of-process", |
2264 IDS_FLAGS_V8_PAC_MOJO_OUT_OF_PROCESS_NAME, | 2264 IDS_FLAGS_V8_PAC_MOJO_OUT_OF_PROCESS_NAME, |
2265 IDS_FLAGS_V8_PAC_MOJO_OUT_OF_PROCESS_DESCRIPTION, | 2265 IDS_FLAGS_V8_PAC_MOJO_OUT_OF_PROCESS_DESCRIPTION, |
2266 kOsDesktop, | 2266 kOsDesktop, |
2267 SINGLE_VALUE_TYPE(switches::kV8PacMojoOutOfProcess), | 2267 SINGLE_VALUE_TYPE(switches::kV8PacMojoOutOfProcess), |
2268 }, | 2268 }, |
| 2269 { |
| 2270 "enable-cert-collection", |
| 2271 IDS_ENABLE_INVALID_CERT_COLLECTION, |
| 2272 IDS_ENABLE_INVALID_CERT_COLLECTION_DESCRIPTION, |
| 2273 kOsAll, |
| 2274 SINGLE_VALUE_TYPE(switches::kEnableInvalidCertCollection) |
| 2275 }, |
2269 | 2276 |
2270 // NOTE: Adding new command-line switches requires adding corresponding | 2277 // NOTE: Adding new command-line switches requires adding corresponding |
2271 // entries to enum "LoginCustomFlags" in histograms.xml. See note in | 2278 // entries to enum "LoginCustomFlags" in histograms.xml. See note in |
2272 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. | 2279 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. |
2273 }; | 2280 }; |
2274 | 2281 |
2275 const Experiment* experiments = kExperiments; | 2282 const Experiment* experiments = kExperiments; |
2276 size_t num_experiments = arraysize(kExperiments); | 2283 size_t num_experiments = arraysize(kExperiments); |
2277 | 2284 |
2278 // Stores and encapsulates the little state that about:flags has. | 2285 // Stores and encapsulates the little state that about:flags has. |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2862 } | 2869 } |
2863 | 2870 |
2864 const Experiment* GetExperiments(size_t* count) { | 2871 const Experiment* GetExperiments(size_t* count) { |
2865 *count = num_experiments; | 2872 *count = num_experiments; |
2866 return experiments; | 2873 return experiments; |
2867 } | 2874 } |
2868 | 2875 |
2869 } // namespace testing | 2876 } // namespace testing |
2870 | 2877 |
2871 } // namespace about_flags | 2878 } // namespace about_flags |
OLD | NEW |