| 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 2241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2252 FEATURE_WITH_VARIATIONS_VALUE_TYPE( | 2252 FEATURE_WITH_VARIATIONS_VALUE_TYPE( |
| 2253 autofill::kAutofillCreditCardLastUsedDateDisplay, | 2253 autofill::kAutofillCreditCardLastUsedDateDisplay, |
| 2254 kAutofillCreditCardLastUsedDateFeatureVariations, | 2254 kAutofillCreditCardLastUsedDateFeatureVariations, |
| 2255 "AutofillCreditCardLastUsedDate")}, | 2255 "AutofillCreditCardLastUsedDate")}, |
| 2256 #if defined(OS_WIN) | 2256 #if defined(OS_WIN) |
| 2257 {"windows10-custom-titlebar", IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_NAME, | 2257 {"windows10-custom-titlebar", IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_NAME, |
| 2258 IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_DESCRIPTION, kOsWin, | 2258 IDS_FLAGS_WINDOWS10_CUSTOM_TITLEBAR_DESCRIPTION, kOsWin, |
| 2259 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, | 2259 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, |
| 2260 #endif // OS_WIN | 2260 #endif // OS_WIN |
| 2261 | 2261 |
| 2262 {"enable-faster-location-reload", IDS_FLAGS_FASTER_LOCATION_RELOAD_NAME, | |
| 2263 IDS_FLAGS_FASTER_LOCATION_RELOAD_DESCRIPTION, kOsAll, | |
| 2264 FEATURE_VALUE_TYPE(features::kFasterLocationReload)}, | |
| 2265 #if defined(OS_ANDROID) | 2262 #if defined(OS_ANDROID) |
| 2266 {"lsd-permission-prompt", IDS_FLAGS_LSD_PERMISSION_PROMPT_NAME, | 2263 {"lsd-permission-prompt", IDS_FLAGS_LSD_PERMISSION_PROMPT_NAME, |
| 2267 IDS_FLAGS_LSD_PERMISSION_PROMPT_DESCRIPTION, kOsAndroid, | 2264 IDS_FLAGS_LSD_PERMISSION_PROMPT_DESCRIPTION, kOsAndroid, |
| 2268 FEATURE_VALUE_TYPE(features::kLsdPermissionPrompt)}, | 2265 FEATURE_VALUE_TYPE(features::kLsdPermissionPrompt)}, |
| 2269 #endif | 2266 #endif |
| 2270 | 2267 |
| 2271 #if defined(OS_CHROMEOS) | 2268 #if defined(OS_CHROMEOS) |
| 2272 {"enable-touchscreen-calibration", IDS_FLAGS_TOUCHSCREEN_CALIBRATION_NAME, | 2269 {"enable-touchscreen-calibration", IDS_FLAGS_TOUCHSCREEN_CALIBRATION_NAME, |
| 2273 IDS_FLAGS_TOUCHSCREEN_CALIBRATION_DESCRIPTION, kOsCrOS, | 2270 IDS_FLAGS_TOUCHSCREEN_CALIBRATION_DESCRIPTION, kOsCrOS, |
| 2274 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchCalibrationSetting)}, | 2271 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchCalibrationSetting)}, |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2575 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2572 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2576 | 2573 |
| 2577 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2574 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2578 *count = arraysize(kFeatureEntries); | 2575 *count = arraysize(kFeatureEntries); |
| 2579 return kFeatureEntries; | 2576 return kFeatureEntries; |
| 2580 } | 2577 } |
| 2581 | 2578 |
| 2582 } // namespace testing | 2579 } // namespace testing |
| 2583 | 2580 |
| 2584 } // namespace about_flags | 2581 } // namespace about_flags |
| OLD | NEW |