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

Unified Diff: content/public/common/feature_h264_with_openh264_ffmpeg.h

Issue 1718883002: Enable H.264 video WebRTC behind run-time flag and add WebRtcBrowserTest for H.264 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed brettw comments (remove colon and gen header from list) 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
Index: content/public/common/feature_h264_with_openh264_ffmpeg.h
diff --git a/content/public/common/feature_h264_with_openh264_ffmpeg.h b/content/public/common/feature_h264_with_openh264_ffmpeg.h
new file mode 100644
index 0000000000000000000000000000000000000000..93961fceebb71335d3c9f76ca73a769ffe3ac052
--- /dev/null
+++ b/content/public/common/feature_h264_with_openh264_ffmpeg.h
@@ -0,0 +1,22 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_COMMON_FEATURE_H264_WITH_OPENH264_FFMPEG_H_
+#define CONTENT_PUBLIC_COMMON_FEATURE_H264_WITH_OPENH264_FFMPEG_H_
+
+#include "base/feature_list.h"
+#include "content/public/common/common_features.h"
+
+namespace content {
+
+#if BUILDFLAG(RTC_USE_H264)
+
+// Run-time feature for the |rtc_use_h264| encoder/decoder.
+extern const base::Feature kWebRtcH264WithOpenH264FFmpeg;
+
+#endif // BUILDFLAG(RTC_USE_H264)
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_FEATURE_H264_WITH_OPENH264_FFMPEG_H_

Powered by Google App Engine
This is Rietveld 408576698