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

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

Issue 1722283002: about_flags.cc entry for WebRTC-H264WithOpenH264FFmpeg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: .grd if expr matching about_flags.cc #if. Use of kOsDesktop Created 4 years, 9 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "components/proximity_auth/switches.h" 50 #include "components/proximity_auth/switches.h"
51 #include "components/search/search_switches.h" 51 #include "components/search/search_switches.h"
52 #include "components/security_state/switches.h" 52 #include "components/security_state/switches.h"
53 #include "components/signin/core/common/signin_switches.h" 53 #include "components/signin/core/common/signin_switches.h"
54 #include "components/sync_driver/sync_driver_switches.h" 54 #include "components/sync_driver/sync_driver_switches.h"
55 #include "components/tracing/tracing_switches.h" 55 #include "components/tracing/tracing_switches.h"
56 #include "components/version_info/version_info.h" 56 #include "components/version_info/version_info.h"
57 #include "content/public/browser/user_metrics.h" 57 #include "content/public/browser/user_metrics.h"
58 #include "content/public/common/content_features.h" 58 #include "content/public/common/content_features.h"
59 #include "content/public/common/content_switches.h" 59 #include "content/public/common/content_switches.h"
60 #include "content/public/common/feature_h264_with_openh264_ffmpeg.h"
61 #include "content/public/common/features.h"
60 #include "grit/components_strings.h" 62 #include "grit/components_strings.h"
61 #include "media/base/media_switches.h" 63 #include "media/base/media_switches.h"
62 #include "media/midi/midi_switches.h" 64 #include "media/midi/midi_switches.h"
63 #include "ui/base/l10n/l10n_util.h" 65 #include "ui/base/l10n/l10n_util.h"
64 #include "ui/base/ui_base_switches.h" 66 #include "ui/base/ui_base_switches.h"
65 #include "ui/compositor/compositor_switches.h" 67 #include "ui/compositor/compositor_switches.h"
66 #include "ui/display/display_switches.h" 68 #include "ui/display/display_switches.h"
67 #include "ui/events/event_switches.h" 69 #include "ui/events/event_switches.h"
68 #include "ui/gfx/switches.h" 70 #include "ui/gfx/switches.h"
69 #include "ui/gl/gl_switches.h" 71 #include "ui/gl/gl_switches.h"
(...skipping 1719 matching lines...) Expand 10 before | Expand all | Expand 10 after
1789 switches::kUIDisableCompositorAnimationTimelines)}, 1791 switches::kUIDisableCompositorAnimationTimelines)},
1790 #endif // !defined(OS_ANDROID) 1792 #endif // !defined(OS_ANDROID)
1791 {"enable-audio-support-for-desktop-share", 1793 {"enable-audio-support-for-desktop-share",
1792 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE, 1794 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE,
1793 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE_DESCRIPTION, 1795 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE_DESCRIPTION,
1794 kOsAll, 1796 kOsAll,
1795 SINGLE_VALUE_TYPE(switches::kEnableAudioSupportForDesktopShare)}, 1797 SINGLE_VALUE_TYPE(switches::kEnableAudioSupportForDesktopShare)},
1796 #if defined(ENABLE_EXTENSIONS) 1798 #if defined(ENABLE_EXTENSIONS)
1797 {"enable-tab-for-desktop-share", IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE, 1799 {"enable-tab-for-desktop-share", IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE,
1798 IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll, 1800 IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll,
1799 SINGLE_VALUE_TYPE(extensions::switches::kEnableTabForDesktopShare)} 1801 SINGLE_VALUE_TYPE(extensions::switches::kEnableTabForDesktopShare)},
1800 #endif 1802 #endif
1801 #if defined(OS_ANDROID) 1803 #if defined(OS_ANDROID)
1802 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, 1804 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME,
1803 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, 1805 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid,
1804 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)}, 1806 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)},
1805 #endif // defined(OS_ANDROID) 1807 #endif // defined(OS_ANDROID)
1808 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1809 {"enable-webrtc-h264-with-openh264-ffmpeg",
1810 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME,
1811 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION,
1812 kOsDesktop,
1813 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)},
1814 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1806 #if defined(OS_ANDROID) 1815 #if defined(OS_ANDROID)
1807 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, 1816 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME,
1808 IDS_FLAGS_IME_THREAD_DESCRIPTION, kOsAndroid, 1817 IDS_FLAGS_IME_THREAD_DESCRIPTION, kOsAndroid,
1809 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableImeThread, 1818 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableImeThread,
1810 switches::kDisableImeThread)}, 1819 switches::kDisableImeThread)},
1811 #endif // defined(OS_ANDROID) 1820 #endif // defined(OS_ANDROID)
1812 // NOTE: Adding new command-line switches requires adding corresponding 1821 // NOTE: Adding new command-line switches requires adding corresponding
1813 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 1822 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
1814 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 1823 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
1815 }; 1824 };
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
2011 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2020 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2012 2021
2013 const FeatureEntry* GetFeatureEntries(size_t* count) { 2022 const FeatureEntry* GetFeatureEntries(size_t* count) {
2014 *count = arraysize(kFeatureEntries); 2023 *count = arraysize(kFeatureEntries);
2015 return kFeatureEntries; 2024 return kFeatureEntries;
2016 } 2025 }
2017 2026
2018 } // namespace testing 2027 } // namespace testing
2019 2028
2020 } // namespace about_flags 2029 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698