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

Unified Diff: content/renderer/media/rtc_video_decoder_factory_tv.h

Issue 14247018: Implement WebRTC in Chrome for TV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WebRTC impl on Chrome for TV Created 7 years, 8 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/renderer/media/rtc_video_decoder_factory_tv.h
diff --git a/content/renderer/media/rtc_video_decoder_factory_tv.h b/content/renderer/media/rtc_video_decoder_factory_tv.h
new file mode 100644
index 0000000000000000000000000000000000000000..7c2e3f00605c70bcf0369c9d294867e5c8bf5520
--- /dev/null
+++ b/content/renderer/media/rtc_video_decoder_factory_tv.h
@@ -0,0 +1,37 @@
+// Copyright (c) 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_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_TV_H_
+#define CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_TV_H_
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "base/message_loop.h"
+#include "content/common/content_export.h"
+#include "media/base/demuxer.h"
+#include "third_party/libjingle/source/talk/media/webrtc/webrtcvideodecoderfactory.h"
+
+namespace webrtc {
+class VideoDecoder;
+}
+
+namespace content {
+
+class CONTENT_EXPORT RTCVideoDecoderFactoryTv
+ : NON_EXPORTED_BASE(public cricket::WebRtcVideoDecoderFactory) {
+ public:
+ RTCVideoDecoderFactoryTv();
+
+ // cricket::WebRtcVideoDecoderFactory implementation.
+ virtual webrtc::VideoDecoder* CreateVideoDecoder(
+ webrtc::VideoCodecType type) OVERRIDE;
+ virtual void DestroyVideoDecoder(webrtc::VideoDecoder* decoder) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoderFactoryTv);
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_TV_H_

Powered by Google App Engine
This is Rietveld 408576698