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 1893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1904 kNTPSnippetsFeatureVariations, | 1904 kNTPSnippetsFeatureVariations, |
1905 ntp_snippets::kStudyName)}, | 1905 ntp_snippets::kStudyName)}, |
1906 {"enable-ntp-offline-page-suggestions", | 1906 {"enable-ntp-offline-page-suggestions", |
1907 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_NAME, | 1907 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_NAME, |
1908 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid, | 1908 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid, |
1909 FEATURE_VALUE_TYPE(ntp_snippets::kOfflinePageSuggestionsFeature)}, | 1909 FEATURE_VALUE_TYPE(ntp_snippets::kOfflinePageSuggestionsFeature)}, |
1910 {"enable-ntp-bookmark-suggestions", | 1910 {"enable-ntp-bookmark-suggestions", |
1911 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_NAME, | 1911 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_NAME, |
1912 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_DESCRIPTION, kOsAndroid, | 1912 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_DESCRIPTION, kOsAndroid, |
1913 FEATURE_VALUE_TYPE(ntp_snippets::kBookmarkSuggestionsFeature)}, | 1913 FEATURE_VALUE_TYPE(ntp_snippets::kBookmarkSuggestionsFeature)}, |
| 1914 {"enable-ntp-physical-web-page-suggestions", |
| 1915 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_NAME, |
| 1916 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid, |
| 1917 FEATURE_VALUE_TYPE(ntp_snippets::kNTPPhysicalWebPageSuggestionsFeature)}, |
1914 #endif // defined(OS_ANDROID) | 1918 #endif // defined(OS_ANDROID) |
1915 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) | 1919 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) |
1916 {"enable-webrtc-h264-with-openh264-ffmpeg", | 1920 {"enable-webrtc-h264-with-openh264-ffmpeg", |
1917 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, | 1921 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, |
1918 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, | 1922 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, |
1919 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, | 1923 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, |
1920 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) | 1924 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) |
1921 #if defined(OS_ANDROID) | 1925 #if defined(OS_ANDROID) |
1922 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, | 1926 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, |
1923 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, | 1927 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2240 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2244 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2241 | 2245 |
2242 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2246 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2243 *count = arraysize(kFeatureEntries); | 2247 *count = arraysize(kFeatureEntries); |
2244 return kFeatureEntries; | 2248 return kFeatureEntries; |
2245 } | 2249 } |
2246 | 2250 |
2247 } // namespace testing | 2251 } // namespace testing |
2248 | 2252 |
2249 } // namespace about_flags | 2253 } // namespace about_flags |
OLD | NEW |