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

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

Issue 2636533003: Add chrome://flags entry to enable the standalone content suggestions UI. (Closed)
Patch Set: update description Created 3 years, 11 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 | « chrome/app/generated_resources.grd ('k') | tools/metrics/histograms/histograms.xml » ('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 1896 matching lines...) Expand 10 before | Expand all | Expand 10 after
1907 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_DESCRIPTION, kOsAndroid, 1907 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_DESCRIPTION, kOsAndroid,
1908 FEATURE_VALUE_TYPE(ntp_snippets::kBookmarkSuggestionsFeature)}, 1908 FEATURE_VALUE_TYPE(ntp_snippets::kBookmarkSuggestionsFeature)},
1909 {"enable-ntp-physical-web-page-suggestions", 1909 {"enable-ntp-physical-web-page-suggestions",
1910 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_NAME, 1910 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_NAME,
1911 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid, 1911 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid,
1912 FEATURE_VALUE_TYPE(ntp_snippets::kPhysicalWebPageSuggestionsFeature)}, 1912 FEATURE_VALUE_TYPE(ntp_snippets::kPhysicalWebPageSuggestionsFeature)},
1913 {"enable-ntp-foreign-sessions-suggestions", 1913 {"enable-ntp-foreign-sessions-suggestions",
1914 IDS_FLAGS_ENABLE_NTP_FOREIGN_SESSIONS_SUGGESTIONS_NAME, 1914 IDS_FLAGS_ENABLE_NTP_FOREIGN_SESSIONS_SUGGESTIONS_NAME,
1915 IDS_FLAGS_ENABLE_NTP_FOREIGN_SESSIONS_SUGGESTIONS_DESCRIPTION, kOsAndroid, 1915 IDS_FLAGS_ENABLE_NTP_FOREIGN_SESSIONS_SUGGESTIONS_DESCRIPTION, kOsAndroid,
1916 FEATURE_VALUE_TYPE(ntp_snippets::kForeignSessionsSuggestionsFeature)}, 1916 FEATURE_VALUE_TYPE(ntp_snippets::kForeignSessionsSuggestionsFeature)},
1917 {"ntp-standalone-suggestions-ui",
1918 IDS_FLAGS_ENABLE_NTP_STANDALONE_SUGGESTIONS_UI_NAME,
1919 IDS_FLAGS_ENABLE_NTP_STANDALONE_SUGGESTIONS_UI_DESCRIPTION, kOsAndroid,
1920 FEATURE_VALUE_TYPE(chrome::android::kNTPSuggestionsStandaloneUIFeature)},
1917 #endif // OS_ANDROID 1921 #endif // OS_ANDROID
1918 #if BUILDFLAG(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) && \ 1922 #if BUILDFLAG(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) && \
1919 !defined(MEDIA_DISABLE_FFMPEG) 1923 !defined(MEDIA_DISABLE_FFMPEG)
1920 {"enable-webrtc-h264-with-openh264-ffmpeg", 1924 {"enable-webrtc-h264-with-openh264-ffmpeg",
1921 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, 1925 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME,
1922 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, 1926 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop,
1923 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, 1927 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)},
1924 #endif // ENABLE_WEBRTC && BUILDFLAG(RTC_USE_H264) && !MEDIA_DISABLE_FFMPEG 1928 #endif // ENABLE_WEBRTC && BUILDFLAG(RTC_USE_H264) && !MEDIA_DISABLE_FFMPEG
1925 #if defined(OS_ANDROID) 1929 #if defined(OS_ANDROID)
1926 {"offline-pages-ntp", IDS_FLAGS_NTP_OFFLINE_PAGES_NAME, 1930 {"offline-pages-ntp", IDS_FLAGS_NTP_OFFLINE_PAGES_NAME,
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
2382 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2386 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2383 2387
2384 const FeatureEntry* GetFeatureEntries(size_t* count) { 2388 const FeatureEntry* GetFeatureEntries(size_t* count) {
2385 *count = arraysize(kFeatureEntries); 2389 *count = arraysize(kFeatureEntries);
2386 return kFeatureEntries; 2390 return kFeatureEntries;
2387 } 2391 }
2388 2392
2389 } // namespace testing 2393 } // namespace testing
2390 2394
2391 } // namespace about_flags 2395 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698