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

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

Issue 1774483002: about_flags.cc entry for WebRTC-H264WithOpenH264FFmpeg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted changes for using rtc_use_h264 in .grd 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/chrome_browser.gypi » ('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 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 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after
1782 IDS_FLAGS_ENABLE_SCROLL_ANCHORING_DESCRIPTION, kOsAll, 1784 IDS_FLAGS_ENABLE_SCROLL_ANCHORING_DESCRIPTION, kOsAll,
1783 FEATURE_VALUE_TYPE(features::kScrollAnchoring)}, 1785 FEATURE_VALUE_TYPE(features::kScrollAnchoring)},
1784 {"enable-audio-support-for-desktop-share", 1786 {"enable-audio-support-for-desktop-share",
1785 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE, 1787 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE,
1786 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE_DESCRIPTION, 1788 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE_DESCRIPTION,
1787 kOsAll, 1789 kOsAll,
1788 SINGLE_VALUE_TYPE(switches::kEnableAudioSupportForDesktopShare)}, 1790 SINGLE_VALUE_TYPE(switches::kEnableAudioSupportForDesktopShare)},
1789 #if defined(ENABLE_EXTENSIONS) 1791 #if defined(ENABLE_EXTENSIONS)
1790 {"enable-tab-for-desktop-share", IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE, 1792 {"enable-tab-for-desktop-share", IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE,
1791 IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll, 1793 IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll,
1792 SINGLE_VALUE_TYPE(extensions::switches::kEnableTabForDesktopShare)} 1794 SINGLE_VALUE_TYPE(extensions::switches::kEnableTabForDesktopShare)},
1793 #endif 1795 #endif
1794 #if defined(OS_ANDROID) 1796 #if defined(OS_ANDROID)
1795 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, 1797 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME,
1796 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, 1798 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid,
1797 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)}, 1799 FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)},
1798 #endif // defined(OS_ANDROID) 1800 #endif // defined(OS_ANDROID)
1801 #if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1802 {"enable-webrtc-h264-with-openh264-ffmpeg",
1803 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME,
1804 IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION,
1805 kOsDesktop,
1806 FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)},
1807 #endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
1799 #if defined(OS_ANDROID) 1808 #if defined(OS_ANDROID)
1800 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, 1809 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME,
1801 IDS_FLAGS_IME_THREAD_DESCRIPTION, kOsAndroid, 1810 IDS_FLAGS_IME_THREAD_DESCRIPTION, kOsAndroid,
1802 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableImeThread, 1811 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableImeThread,
1803 switches::kDisableImeThread)}, 1812 switches::kDisableImeThread)},
1804 #endif // defined(OS_ANDROID) 1813 #endif // defined(OS_ANDROID)
1805 // NOTE: Adding new command-line switches requires adding corresponding 1814 // NOTE: Adding new command-line switches requires adding corresponding
1806 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 1815 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
1807 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 1816 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
1808 }; 1817 };
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
2004 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2013 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2005 2014
2006 const FeatureEntry* GetFeatureEntries(size_t* count) { 2015 const FeatureEntry* GetFeatureEntries(size_t* count) {
2007 *count = arraysize(kFeatureEntries); 2016 *count = arraysize(kFeatureEntries);
2008 return kFeatureEntries; 2017 return kFeatureEntries;
2009 } 2018 }
2010 2019
2011 } // namespace testing 2020 } // namespace testing
2012 2021
2013 } // namespace about_flags 2022 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698