Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 2221123003: [NTP Snippets] Move kOfflinePageSuggestionsFeature into the component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@articles_feature
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/android/chrome_feature_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
1904 #if defined(OS_ANDROID) 1904 #if defined(OS_ANDROID)
1905 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, 1905 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME,
1906 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, 1906 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid,
1907 FEATURE_WITH_VARIATIONS_VALUE_TYPE( 1907 FEATURE_WITH_VARIATIONS_VALUE_TYPE(
1908 ntp_snippets::kContentSuggestionsFeature, 1908 ntp_snippets::kContentSuggestionsFeature,
1909 kNTPSnippetsFeatureVariations, 1909 kNTPSnippetsFeatureVariations,
1910 ntp_snippets::kStudyName)}, 1910 ntp_snippets::kStudyName)},
1911 {"enable-ntp-offline-page-suggestions", 1911 {"enable-ntp-offline-page-suggestions",
1912 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_NAME, 1912 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_NAME,
1913 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid, 1913 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid,
1914 FEATURE_VALUE_TYPE(chrome::android::kNTPOfflinePageSuggestionsFeature)}, 1914 FEATURE_VALUE_TYPE(ntp_snippets::kOfflinePageSuggestionsFeature)},
1915 {"enable-ntp-bookmark-suggestions", 1915 {"enable-ntp-bookmark-suggestions",
1916 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_NAME, 1916 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_NAME,
1917 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_DESCRIPTION, kOsAndroid, 1917 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_DESCRIPTION, kOsAndroid,
1918 FEATURE_VALUE_TYPE(ntp_snippets::kBookmarkSuggestionsFeature)}, 1918 FEATURE_VALUE_TYPE(ntp_snippets::kBookmarkSuggestionsFeature)},
1919 #endif // defined(OS_ANDROID) 1919 #endif // defined(OS_ANDROID)
1920 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) 1920 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1921 {"enable-webrtc-h264-with-openh264-ffmpeg", 1921 {"enable-webrtc-h264-with-openh264-ffmpeg",
1922 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, 1922 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME,
1923 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, 1923 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop,
1924 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, 1924 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)},
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
2245 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2245 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2246 2246
2247 const FeatureEntry* GetFeatureEntries(size_t* count) { 2247 const FeatureEntry* GetFeatureEntries(size_t* count) {
2248 *count = arraysize(kFeatureEntries); 2248 *count = arraysize(kFeatureEntries);
2249 return kFeatureEntries; 2249 return kFeatureEntries;
2250 } 2250 }
2251 2251
2252 } // namespace testing 2252 } // namespace testing
2253 2253
2254 } // namespace about_flags 2254 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/android/chrome_feature_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698