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 1777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1788 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_OLD_UI, | 1788 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_OLD_UI, |
1789 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_OLD_UI_DESCRIPTION, kOsAll, | 1789 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_OLD_UI_DESCRIPTION, kOsAll, |
1790 SINGLE_VALUE_TYPE( | 1790 SINGLE_VALUE_TYPE( |
1791 extensions::switches::kDisableDesktopCapturePickerOldUI)}, | 1791 extensions::switches::kDisableDesktopCapturePickerOldUI)}, |
1792 #endif | 1792 #endif |
1793 #if defined(OS_ANDROID) | 1793 #if defined(OS_ANDROID) |
1794 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, | 1794 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, |
1795 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, | 1795 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, |
1796 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)}, | 1796 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)}, |
1797 #endif // defined(OS_ANDROID) | 1797 #endif // defined(OS_ANDROID) |
1798 #if defined(OS_ANDROID) | |
1799 {"enable-ntp-transparent-doodle", | |
1800 IDS_FLAGS_ENABLE_NTP_TRANSPARENT_DOODLE_NAME, | |
1801 IDS_FLAGS_ENABLE_NTP_TRANSPARENT_DOODLE_DESCRIPTION, | |
1802 kOsAndroid, | |
1803 FEATURE_VALUE_TYPE(chrome::android::kNTPTransparentDoodle)}, | |
1804 #endif // defined(OS_ANDROID) | |
1805 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) | 1798 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) |
1806 {"enable-webrtc-h264-with-openh264-ffmpeg", | 1799 {"enable-webrtc-h264-with-openh264-ffmpeg", |
1807 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, | 1800 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, |
1808 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, | 1801 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, |
1809 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, | 1802 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, |
1810 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) | 1803 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) |
1811 #if defined(OS_ANDROID) | 1804 #if defined(OS_ANDROID) |
1812 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, | 1805 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, |
1813 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, | 1806 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, |
1814 #endif // defined(OS_ANDROID) | 1807 #endif // defined(OS_ANDROID) |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2067 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2060 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2068 | 2061 |
2069 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2062 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2070 *count = arraysize(kFeatureEntries); | 2063 *count = arraysize(kFeatureEntries); |
2071 return kFeatureEntries; | 2064 return kFeatureEntries; |
2072 } | 2065 } |
2073 | 2066 |
2074 } // namespace testing | 2067 } // namespace testing |
2075 | 2068 |
2076 } // namespace about_flags | 2069 } // namespace about_flags |
OLD | NEW |