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

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

Issue 2228553003: a provider of Physical Web pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolved compile error. 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
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 1888 matching lines...) Expand 10 before | Expand all | Expand 10 after
1899 SINGLE_VALUE_TYPE( 1899 SINGLE_VALUE_TYPE(
1900 extensions::switches::kDisableDesktopCapturePickerNewUI)}, 1900 extensions::switches::kDisableDesktopCapturePickerNewUI)},
1901 #endif 1901 #endif
1902 #if defined(OS_ANDROID) 1902 #if defined(OS_ANDROID)
1903 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, 1903 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME,
1904 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, 1904 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid,
1905 FEATURE_WITH_VARIATIONS_VALUE_TYPE( 1905 FEATURE_WITH_VARIATIONS_VALUE_TYPE(
1906 ntp_snippets::kContentSuggestionsFeature, 1906 ntp_snippets::kContentSuggestionsFeature,
1907 kNTPSnippetsFeatureVariations, 1907 kNTPSnippetsFeatureVariations,
1908 ntp_snippets::kStudyName)}, 1908 ntp_snippets::kStudyName)},
1909 {"enable-ntp-save-to-offline", 1909 {"enable-ntp-save-to-offline", IDS_FLAGS_ENABLE_NTP_SAVE_TO_OFFLINE_NAME,
1910 IDS_FLAGS_ENABLE_NTP_SAVE_TO_OFFLINE_NAME,
1911 IDS_FLAGS_ENABLE_NTP_SAVE_TO_OFFLINE_DESCRIPTION, kOsAndroid, 1910 IDS_FLAGS_ENABLE_NTP_SAVE_TO_OFFLINE_DESCRIPTION, kOsAndroid,
1912 FEATURE_VALUE_TYPE(ntp_snippets::kSaveToOfflineFeature)}, 1911 FEATURE_VALUE_TYPE(ntp_snippets::kSaveToOfflineFeature)},
1913 {"enable-ntp-recent-offline-tab-suggestions", 1912 {"enable-ntp-recent-offline-tab-suggestions",
1914 IDS_FLAGS_ENABLE_NTP_RECENT_OFFLINE_TAB_SUGGESTIONS_NAME, 1913 IDS_FLAGS_ENABLE_NTP_RECENT_OFFLINE_TAB_SUGGESTIONS_NAME,
1915 IDS_FLAGS_ENABLE_NTP_RECENT_OFFLINE_TAB_SUGGESTIONS_DESCRIPTION, 1914 IDS_FLAGS_ENABLE_NTP_RECENT_OFFLINE_TAB_SUGGESTIONS_DESCRIPTION,
1916 kOsAndroid, 1915 kOsAndroid,
1917 FEATURE_VALUE_TYPE(ntp_snippets::kRecentOfflineTabSuggestionsFeature)}, 1916 FEATURE_VALUE_TYPE(ntp_snippets::kRecentOfflineTabSuggestionsFeature)},
1918 {"enable-ntp-download-suggestions", 1917 {"enable-ntp-download-suggestions",
1919 IDS_FLAGS_ENABLE_NTP_DOWNLOAD_SUGGESTIONS_NAME, 1918 IDS_FLAGS_ENABLE_NTP_DOWNLOAD_SUGGESTIONS_NAME,
1920 IDS_FLAGS_ENABLE_NTP_DOWNLOAD_SUGGESTIONS_DESCRIPTION, kOsAndroid, 1919 IDS_FLAGS_ENABLE_NTP_DOWNLOAD_SUGGESTIONS_DESCRIPTION, kOsAndroid,
1921 FEATURE_VALUE_TYPE(ntp_snippets::kDownloadSuggestionsFeature)}, 1920 FEATURE_VALUE_TYPE(ntp_snippets::kDownloadSuggestionsFeature)},
1922 {"enable-ntp-bookmark-suggestions", 1921 {"enable-ntp-bookmark-suggestions",
1923 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_NAME, 1922 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_NAME,
1924 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_DESCRIPTION, kOsAndroid, 1923 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_DESCRIPTION, kOsAndroid,
1925 FEATURE_VALUE_TYPE(ntp_snippets::kBookmarkSuggestionsFeature)}, 1924 FEATURE_VALUE_TYPE(ntp_snippets::kBookmarkSuggestionsFeature)},
1925 {"enable-ntp-physical-web-page-suggestions",
1926 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_NAME,
1927 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid,
1928 FEATURE_VALUE_TYPE(ntp_snippets::kPhysicalWebPageSuggestionsFeature)},
1926 #endif // defined(OS_ANDROID) 1929 #endif // defined(OS_ANDROID)
1927 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) 1930 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1928 {"enable-webrtc-h264-with-openh264-ffmpeg", 1931 {"enable-webrtc-h264-with-openh264-ffmpeg",
1929 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME, 1932 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME,
1930 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop, 1933 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION, kOsDesktop,
1931 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)}, 1934 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)},
1932 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264) 1935 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1933 #if defined(OS_ANDROID) 1936 #if defined(OS_ANDROID)
1934 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, 1937 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION,
1935 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, 1938 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)},
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
2254 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2257 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2255 2258
2256 const FeatureEntry* GetFeatureEntries(size_t* count) { 2259 const FeatureEntry* GetFeatureEntries(size_t* count) {
2257 *count = arraysize(kFeatureEntries); 2260 *count = arraysize(kFeatureEntries);
2258 return kFeatureEntries; 2261 return kFeatureEntries;
2259 } 2262 }
2260 2263
2261 } // namespace testing 2264 } // namespace testing
2262 2265
2263 } // namespace about_flags 2266 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ntp_snippets/content_suggestions_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698