| 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 1814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1825 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_NEW_UI_DESCRIPTION, kOsAll, | 1825 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_NEW_UI_DESCRIPTION, kOsAll, |
| 1826 SINGLE_VALUE_TYPE( | 1826 SINGLE_VALUE_TYPE( |
| 1827 extensions::switches::kDisableDesktopCapturePickerNewUI)}, | 1827 extensions::switches::kDisableDesktopCapturePickerNewUI)}, |
| 1828 #endif | 1828 #endif |
| 1829 #if defined(OS_ANDROID) | 1829 #if defined(OS_ANDROID) |
| 1830 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, | 1830 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, |
| 1831 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, | 1831 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, |
| 1832 FEATURE_WITH_VARIATIONS_VALUE_TYPE(chrome::android::kNTPSnippetsFeature, | 1832 FEATURE_WITH_VARIATIONS_VALUE_TYPE(chrome::android::kNTPSnippetsFeature, |
| 1833 kNTPSnippetsFeatureVariations, | 1833 kNTPSnippetsFeatureVariations, |
| 1834 ntp_snippets::kStudyName)}, | 1834 ntp_snippets::kStudyName)}, |
| 1835 {"enable-ntp-offline-page-suggestions", |
| 1836 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_NAME, |
| 1837 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid, |
| 1838 FEATURE_VALUE_TYPE(chrome::android::kNTPOfflinePageSuggestionsFeature)}, |
| 1835 #endif // defined(OS_ANDROID) | 1839 #endif // defined(OS_ANDROID) |
| 1836 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) | 1840 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) |
| 1837 {"enable-webrtc-h264-with-openh264-ffmpeg", | 1841 {"enable-webrtc-h264-with-openh264-ffmpeg", |
| 1838 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, | 1842 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, |
| 1839 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, | 1843 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, |
| 1840 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, | 1844 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, |
| 1841 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) | 1845 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) |
| 1842 #if defined(OS_ANDROID) | 1846 #if defined(OS_ANDROID) |
| 1843 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, | 1847 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, |
| 1844 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, | 1848 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2158 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2162 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2159 | 2163 |
| 2160 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2164 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2161 *count = arraysize(kFeatureEntries); | 2165 *count = arraysize(kFeatureEntries); |
| 2162 return kFeatureEntries; | 2166 return kFeatureEntries; |
| 2163 } | 2167 } |
| 2164 | 2168 |
| 2165 } // namespace testing | 2169 } // namespace testing |
| 2166 | 2170 |
| 2167 } // namespace about_flags | 2171 } // namespace about_flags |
| OLD | NEW |