| 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 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1376 flag_descriptions::kEasyUnlockProximityDetectionDescription, kOsCrOS, | 1376 flag_descriptions::kEasyUnlockProximityDetectionDescription, kOsCrOS, |
| 1377 SINGLE_VALUE_TYPE(proximity_auth::switches::kEnableProximityDetection)}, | 1377 SINGLE_VALUE_TYPE(proximity_auth::switches::kEnableProximityDetection)}, |
| 1378 {"enable-easy-unlock-bluetooth-low-energy-detection", | 1378 {"enable-easy-unlock-bluetooth-low-energy-detection", |
| 1379 flag_descriptions::kEasyUnlockBluetoothLowEnergyDiscoveryName, | 1379 flag_descriptions::kEasyUnlockBluetoothLowEnergyDiscoveryName, |
| 1380 flag_descriptions::kEasyUnlockBluetoothLowEnergyDiscoveryDescription, | 1380 flag_descriptions::kEasyUnlockBluetoothLowEnergyDiscoveryDescription, |
| 1381 kOsCrOS, | 1381 kOsCrOS, |
| 1382 SINGLE_VALUE_TYPE( | 1382 SINGLE_VALUE_TYPE( |
| 1383 proximity_auth::switches::kEnableBluetoothLowEnergyDiscovery)}, | 1383 proximity_auth::switches::kEnableBluetoothLowEnergyDiscovery)}, |
| 1384 #endif // OS_CHROMEOS | 1384 #endif // OS_CHROMEOS |
| 1385 #if defined(USE_ASH) | 1385 #if defined(USE_ASH) |
| 1386 {"ash-enable-night-light", flag_descriptions::kEnableNightLightName, |
| 1387 flag_descriptions::kEnableNightLightDescription, kOsAll, |
| 1388 SINGLE_VALUE_TYPE(ash::switches::kAshEnableNightLight)}, |
| 1386 {"show-touch-hud", flag_descriptions::kShowTouchHudName, | 1389 {"show-touch-hud", flag_descriptions::kShowTouchHudName, |
| 1387 flag_descriptions::kShowTouchHudDescription, kOsAll, | 1390 flag_descriptions::kShowTouchHudDescription, kOsAll, |
| 1388 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)}, | 1391 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)}, |
| 1389 { | 1392 { |
| 1390 "enable-pinch", flag_descriptions::kPinchScaleName, | 1393 "enable-pinch", flag_descriptions::kPinchScaleName, |
| 1391 flag_descriptions::kPinchScaleDescription, kOsLinux | kOsWin | kOsCrOS, | 1394 flag_descriptions::kPinchScaleDescription, kOsLinux | kOsWin | kOsCrOS, |
| 1392 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePinch, | 1395 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePinch, |
| 1393 switches::kDisablePinch), | 1396 switches::kDisablePinch), |
| 1394 }, | 1397 }, |
| 1395 #endif // USE_ASH | 1398 #endif // USE_ASH |
| (...skipping 1873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3269 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3272 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 3270 | 3273 |
| 3271 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3274 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 3272 *count = arraysize(kFeatureEntries); | 3275 *count = arraysize(kFeatureEntries); |
| 3273 return kFeatureEntries; | 3276 return kFeatureEntries; |
| 3274 } | 3277 } |
| 3275 | 3278 |
| 3276 } // namespace testing | 3279 } // namespace testing |
| 3277 | 3280 |
| 3278 } // namespace about_flags | 3281 } // namespace about_flags |
| OLD | NEW |