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 1879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1890 #if defined(OS_ANDROID) | 1890 #if defined(OS_ANDROID) |
1891 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, | 1891 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, |
1892 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, | 1892 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, |
1893 FEATURE_WITH_VARIATIONS_VALUE_TYPE(chrome::android::kNTPSnippetsFeature, | 1893 FEATURE_WITH_VARIATIONS_VALUE_TYPE(chrome::android::kNTPSnippetsFeature, |
1894 kNTPSnippetsFeatureVariations, | 1894 kNTPSnippetsFeatureVariations, |
1895 ntp_snippets::kStudyName)}, | 1895 ntp_snippets::kStudyName)}, |
1896 {"enable-ntp-offline-page-suggestions", | 1896 {"enable-ntp-offline-page-suggestions", |
1897 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_NAME, | 1897 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_NAME, |
1898 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid, | 1898 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid, |
1899 FEATURE_VALUE_TYPE(chrome::android::kNTPOfflinePageSuggestionsFeature)}, | 1899 FEATURE_VALUE_TYPE(chrome::android::kNTPOfflinePageSuggestionsFeature)}, |
| 1900 {"enable-ntp-physical-web-page-suggestions", |
| 1901 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_NAME, |
| 1902 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid, |
| 1903 FEATURE_VALUE_TYPE(chrome::android::kNTPPhysicalWebPageSuggestionsFeature)}
, |
1900 #endif // defined(OS_ANDROID) | 1904 #endif // defined(OS_ANDROID) |
1901 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) | 1905 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) |
1902 {"enable-webrtc-h264-with-openh264-ffmpeg", | 1906 {"enable-webrtc-h264-with-openh264-ffmpeg", |
1903 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, | 1907 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, |
1904 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, | 1908 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, |
1905 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, | 1909 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, |
1906 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) | 1910 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) |
1907 #if defined(OS_ANDROID) | 1911 #if defined(OS_ANDROID) |
1908 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, | 1912 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, |
1909 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, | 1913 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2226 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2230 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2227 | 2231 |
2228 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2232 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2229 *count = arraysize(kFeatureEntries); | 2233 *count = arraysize(kFeatureEntries); |
2230 return kFeatureEntries; | 2234 return kFeatureEntries; |
2231 } | 2235 } |
2232 | 2236 |
2233 } // namespace testing | 2237 } // namespace testing |
2234 | 2238 |
2235 } // namespace about_flags | 2239 } // namespace about_flags |
OLD | NEW |