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

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

Issue 2149453004: Implement first version of OfflinePageSuggestionsProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove separate build target for offline_page_suggestions Created 4 years, 5 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') | 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 1800 matching lines...) Expand 10 before | Expand all | Expand 10 after
1811 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_NEW_UI_DESCRIPTION, kOsAll, 1811 IDS_FLAG_DISABLE_DESKTOP_CAPTURE_PICKER_NEW_UI_DESCRIPTION, kOsAll,
1812 SINGLE_VALUE_TYPE( 1812 SINGLE_VALUE_TYPE(
1813 extensions::switches::kDisableDesktopCapturePickerNewUI)}, 1813 extensions::switches::kDisableDesktopCapturePickerNewUI)},
1814 #endif 1814 #endif
1815 #if defined(OS_ANDROID) 1815 #if defined(OS_ANDROID)
1816 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, 1816 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME,
1817 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, 1817 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid,
1818 FEATURE_WITH_VARIATIONS_VALUE_TYPE(chrome::android::kNTPSnippetsFeature, 1818 FEATURE_WITH_VARIATIONS_VALUE_TYPE(chrome::android::kNTPSnippetsFeature,
1819 kNTPSnippetsFeatureVariations, 1819 kNTPSnippetsFeatureVariations,
1820 ntp_snippets::kStudyName)}, 1820 ntp_snippets::kStudyName)},
1821 {"enable-ntp-offline-page-suggestions",
1822 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_NAME,
1823 IDS_FLAGS_ENABLE_NTP_OFFLINE_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid,
1824 FEATURE_VALUE_TYPE(chrome::android::kNTPOfflinePageSuggestionsFeature)},
1821 #endif // defined(OS_ANDROID) 1825 #endif // defined(OS_ANDROID)
1822 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) 1826 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1823 {"enable-webrtc-h264-with-openh264-ffmpeg", 1827 {"enable-webrtc-h264-with-openh264-ffmpeg",
1824 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, 1828 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME,
1825 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, 1829 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop,
1826 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, 1830 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)},
1827 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) 1831 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1828 #if defined(OS_ANDROID) 1832 #if defined(OS_ANDROID)
1829 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, 1833 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION,
1830 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, 1834 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)},
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
2137 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2141 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2138 2142
2139 const FeatureEntry* GetFeatureEntries(size_t* count) { 2143 const FeatureEntry* GetFeatureEntries(size_t* count) {
2140 *count = arraysize(kFeatureEntries); 2144 *count = arraysize(kFeatureEntries);
2141 return kFeatureEntries; 2145 return kFeatureEntries;
2142 } 2146 }
2143 2147
2144 } // namespace testing 2148 } // namespace testing
2145 2149
2146 } // namespace about_flags 2150 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698