| 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 2186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2197 IDS_FLAGS_AIA_FETCHING_DESCRIPTION, kOsAndroid, | 2197 IDS_FLAGS_AIA_FETCHING_DESCRIPTION, kOsAndroid, |
| 2198 FEATURE_VALUE_TYPE(net::CertVerifyProcAndroid::kAIAFetchingFeature)}, | 2198 FEATURE_VALUE_TYPE(net::CertVerifyProcAndroid::kAIAFetchingFeature)}, |
| 2199 #endif | 2199 #endif |
| 2200 | 2200 |
| 2201 #if defined(OS_CHROMEOS) | 2201 #if defined(OS_CHROMEOS) |
| 2202 {"force-enable-stylus-tools", IDS_FLAGS_FORCE_ENABLE_STYLUS_TOOLS_NAME, | 2202 {"force-enable-stylus-tools", IDS_FLAGS_FORCE_ENABLE_STYLUS_TOOLS_NAME, |
| 2203 IDS_FLAGS_FORCE_ENABLE_STYLUS_TOOLS_DESCRIPTION, kOsCrOS, | 2203 IDS_FLAGS_FORCE_ENABLE_STYLUS_TOOLS_DESCRIPTION, kOsCrOS, |
| 2204 SINGLE_VALUE_TYPE(ash::switches::kAshForceEnablePalette)}, | 2204 SINGLE_VALUE_TYPE(ash::switches::kAshForceEnablePalette)}, |
| 2205 #endif // defined(OS_CHROMEOS) | 2205 #endif // defined(OS_CHROMEOS) |
| 2206 | 2206 |
| 2207 #if defined(OS_CHROMEOS) |
| 2208 {"team-drives", IDS_FLAGS_USE_TEAM_DRIVES_NAME, |
| 2209 IDS_FLAGS_USE_TEAM_DRIVES_DESCRIPTION, kOsCrOS, |
| 2210 SINGLE_VALUE_TYPE("team-drives")}, |
| 2211 #endif // OS_CHROMEOS |
| 2212 |
| 2207 {"enable-midi-manager-dynamic-instantiation", | 2213 {"enable-midi-manager-dynamic-instantiation", |
| 2208 IDS_FLAGS_ENABLE_MIDI_MANAGER_DYNAMIC_INSTANTIATION_NAME, | 2214 IDS_FLAGS_ENABLE_MIDI_MANAGER_DYNAMIC_INSTANTIATION_NAME, |
| 2209 IDS_FLAGS_ENABLE_MIDI_MANAGER_DYNAMIC_INSTANTIATION_DESCRIPTION, kOsAll, | 2215 IDS_FLAGS_ENABLE_MIDI_MANAGER_DYNAMIC_INSTANTIATION_DESCRIPTION, kOsAll, |
| 2210 FEATURE_VALUE_TYPE(midi::features::kMidiManagerDynamicInstantiation)} | 2216 FEATURE_VALUE_TYPE(midi::features::kMidiManagerDynamicInstantiation)} |
| 2211 | 2217 |
| 2212 // NOTE: Adding new command-line switches requires adding corresponding | 2218 // NOTE: Adding new command-line switches requires adding corresponding |
| 2213 // entries to enum "LoginCustomFlags" in histograms.xml. See note in | 2219 // entries to enum "LoginCustomFlags" in histograms.xml. See note in |
| 2214 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. | 2220 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. |
| 2215 }; | 2221 }; |
| 2216 | 2222 |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2410 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2416 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2411 | 2417 |
| 2412 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2418 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2413 *count = arraysize(kFeatureEntries); | 2419 *count = arraysize(kFeatureEntries); |
| 2414 return kFeatureEntries; | 2420 return kFeatureEntries; |
| 2415 } | 2421 } |
| 2416 | 2422 |
| 2417 } // namespace testing | 2423 } // namespace testing |
| 2418 | 2424 |
| 2419 } // namespace about_flags | 2425 } // namespace about_flags |
| OLD | NEW |