| 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 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 822 {"enable-slimming-paint-v2", | 822 {"enable-slimming-paint-v2", |
| 823 IDS_FLAGS_ENABLE_SLIMMING_PAINT_V2_NAME, | 823 IDS_FLAGS_ENABLE_SLIMMING_PAINT_V2_NAME, |
| 824 IDS_FLAGS_ENABLE_SLIMMING_PAINT_V2_DESCRIPTION, | 824 IDS_FLAGS_ENABLE_SLIMMING_PAINT_V2_DESCRIPTION, |
| 825 kOsAll, | 825 kOsAll, |
| 826 SINGLE_VALUE_TYPE(switches::kEnableSlimmingPaintV2)}, | 826 SINGLE_VALUE_TYPE(switches::kEnableSlimmingPaintV2)}, |
| 827 {"enable-experimental-web-platform-features", | 827 {"enable-experimental-web-platform-features", |
| 828 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME, | 828 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME, |
| 829 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION, | 829 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION, |
| 830 kOsAll, | 830 kOsAll, |
| 831 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)}, | 831 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)}, |
| 832 #if defined(OS_CHROMEOS) || defined(OS_MACOSX) || defined(OS_ANDROID) |
| 832 {"enable-web-bluetooth", | 833 {"enable-web-bluetooth", |
| 833 IDS_FLAGS_WEB_BLUETOOTH_NAME, | 834 IDS_FLAGS_WEB_BLUETOOTH_NAME, |
| 834 IDS_FLAGS_WEB_BLUETOOTH_DESCRIPTION, | 835 IDS_FLAGS_WEB_BLUETOOTH_DESCRIPTION, |
| 835 kOsAll, | 836 kOsCrOS | kOsMac | kOsAndroid, |
| 836 SINGLE_VALUE_TYPE(switches::kEnableWebBluetooth)}, | 837 SINGLE_VALUE_TYPE(switches::kEnableWebBluetooth)}, |
| 838 #endif |
| 837 #if defined(ENABLE_EXTENSIONS) | 839 #if defined(ENABLE_EXTENSIONS) |
| 838 {"enable-ble-advertising-in-apps", | 840 {"enable-ble-advertising-in-apps", |
| 839 IDS_FLAGS_BLE_ADVERTISING_IN_EXTENSIONS_NAME, | 841 IDS_FLAGS_BLE_ADVERTISING_IN_EXTENSIONS_NAME, |
| 840 IDS_FLAGS_BLE_ADVERTISING_IN_EXTENSIONS_DESCRIPTION, | 842 IDS_FLAGS_BLE_ADVERTISING_IN_EXTENSIONS_DESCRIPTION, |
| 841 kOsCrOS, | 843 kOsCrOS, |
| 842 SINGLE_VALUE_TYPE(extensions::switches::kEnableBLEAdvertising)}, | 844 SINGLE_VALUE_TYPE(extensions::switches::kEnableBLEAdvertising)}, |
| 843 #endif | 845 #endif |
| 844 {"enable-devtools-experiments", | 846 {"enable-devtools-experiments", |
| 845 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_NAME, | 847 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_NAME, |
| 846 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_DESCRIPTION, | 848 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_DESCRIPTION, |
| (...skipping 1910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2757 } | 2759 } |
| 2758 | 2760 |
| 2759 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2761 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2760 *count = g_num_entries; | 2762 *count = g_num_entries; |
| 2761 return g_entries; | 2763 return g_entries; |
| 2762 } | 2764 } |
| 2763 | 2765 |
| 2764 } // namespace testing | 2766 } // namespace testing |
| 2765 | 2767 |
| 2766 } // namespace about_flags | 2768 } // namespace about_flags |
| OLD | NEW |