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

Unified 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: Not updating histograms.xml Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 192be1f264cd9115e9f4e717dfe13f088558b4df..85cd0e741abe6f6a0ee0b2f22a26e21c2b433cc1 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -56,6 +56,8 @@
#include "content/public/browser/user_metrics.h"
#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/feature_h264_with_openh264_ffmpeg.h"
+#include "content/public/common/features.h"
#include "grit/components_strings.h"
#include "media/base/media_switches.h"
#include "media/midi/midi_switches.h"
@@ -1801,13 +1803,20 @@ const FeatureEntry kFeatureEntries[] = {
#if defined(ENABLE_EXTENSIONS)
{"enable-tab-for-desktop-share", IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE,
IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll,
- SINGLE_VALUE_TYPE(extensions::switches::kEnableTabForDesktopShare)}
+ SINGLE_VALUE_TYPE(extensions::switches::kEnableTabForDesktopShare)},
#endif
#if defined(OS_ANDROID)
{"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME,
IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kNTPSnippetsFeature)},
#endif // defined(OS_ANDROID)
+#if defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
jochen (gone - plz use gerrit) 2016/03/02 11:03:42 how bad is it that the generated resources if bloc
hbos_chromium 2016/03/02 12:54:56 Not sure, but the other WebRTC features which are
Alexei Svitkine (slow) 2016/03/02 17:29:46 I think if the generated resources if doesn't matc
hbos_chromium 2016/03/03 16:51:42 Done. It was doable. Matching .grd with the #if, r
+ {"enable-webrtc-h264-with-openh264-ffmpeg",
+ IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_NAME,
+ IDS_FLAGS_WEBRTC_H264_WITH_OPENH264_FFMPEG_DESCRIPTION,
+ kOsMac | kOsWin | kOsLinux | kOsCrOS,
+ FEATURE_VALUE_TYPE(content::kWebRtcH264WithOpenH264FFmpeg)},
+#endif // defined(ENABLE_WEBRTC) && BUILDFLAG(RTC_USE_H264)
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
« 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