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 2175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2186 }, | 2186 }, |
2187 { | 2187 { |
2188 "use-sync-sandbox", | 2188 "use-sync-sandbox", |
2189 IDS_FLAGS_SYNC_SANDBOX_NAME, | 2189 IDS_FLAGS_SYNC_SANDBOX_NAME, |
2190 IDS_FLAGS_SYNC_SANDBOX_DESCRIPTION, | 2190 IDS_FLAGS_SYNC_SANDBOX_DESCRIPTION, |
2191 kOsAll, | 2191 kOsAll, |
2192 SINGLE_VALUE_TYPE_AND_VALUE( | 2192 SINGLE_VALUE_TYPE_AND_VALUE( |
2193 switches::kSyncServiceURL, | 2193 switches::kSyncServiceURL, |
2194 "https://chrome-sync.sandbox.google.com/chrome-sync/alpha") | 2194 "https://chrome-sync.sandbox.google.com/chrome-sync/alpha") |
2195 }, | 2195 }, |
| 2196 { |
| 2197 "enable-cert-collection", |
| 2198 IDS_ENABLE_INVALID_CERT_COLLECTION, |
| 2199 IDS_ENABLE_INVALID_CERT_COLLECTION_DESCRIPTION, |
| 2200 kOsAll, |
| 2201 SINGLE_VALUE_TYPE(switches::kEnableInvalidCertCollection) |
| 2202 }, |
2196 | 2203 |
2197 // NOTE: Adding new command-line switches requires adding corresponding | 2204 // NOTE: Adding new command-line switches requires adding corresponding |
2198 // entries to enum "LoginCustomFlags" in histograms.xml. See note in | 2205 // entries to enum "LoginCustomFlags" in histograms.xml. See note in |
2199 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. | 2206 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. |
2200 }; | 2207 }; |
2201 | 2208 |
2202 const Experiment* experiments = kExperiments; | 2209 const Experiment* experiments = kExperiments; |
2203 size_t num_experiments = arraysize(kExperiments); | 2210 size_t num_experiments = arraysize(kExperiments); |
2204 | 2211 |
2205 // Stores and encapsulates the little state that about:flags has. | 2212 // Stores and encapsulates the little state that about:flags has. |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2789 } | 2796 } |
2790 | 2797 |
2791 const Experiment* GetExperiments(size_t* count) { | 2798 const Experiment* GetExperiments(size_t* count) { |
2792 *count = num_experiments; | 2799 *count = num_experiments; |
2793 return experiments; | 2800 return experiments; |
2794 } | 2801 } |
2795 | 2802 |
2796 } // namespace testing | 2803 } // namespace testing |
2797 | 2804 |
2798 } // namespace about_flags | 2805 } // namespace about_flags |
OLD | NEW |