Index: content/renderer/media/rtc_video_decoder_factory.h |
diff --git a/content/renderer/media/rtc_video_decoder_factory.h b/content/renderer/media/rtc_video_decoder_factory.h |
deleted file mode 100644 |
index 7212b98bc7826bb70b1c6701d60cb291b0f95ddd..0000000000000000000000000000000000000000 |
--- a/content/renderer/media/rtc_video_decoder_factory.h |
+++ /dev/null |
@@ -1,49 +0,0 @@ |
-// 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_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_H_ |
-#define CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_H_ |
- |
-#include "base/macros.h" |
-#include "base/threading/thread.h" |
-#include "content/common/content_export.h" |
-#include "third_party/webrtc/media/engine/webrtcvideodecoderfactory.h" |
-#include "third_party/webrtc/modules/video_coding/include/video_codec_interface.h" |
- |
-namespace webrtc { |
-class VideoDecoder; |
-} // namespace webrtc |
- |
-namespace media { |
-class GpuVideoAcceleratorFactories; |
-} // namespace media |
- |
-namespace content { |
- |
-// TODO(wuchengli): add unittest. |
-class CONTENT_EXPORT RTCVideoDecoderFactory |
- : NON_EXPORTED_BASE(public cricket::WebRtcVideoDecoderFactory) { |
- public: |
- explicit RTCVideoDecoderFactory( |
- media::GpuVideoAcceleratorFactories* gpu_factories); |
- ~RTCVideoDecoderFactory() override; |
- |
- // Runs on Chrome_libJingle_WorkerThread. The child thread is blocked while |
- // this runs. |
- webrtc::VideoDecoder* CreateVideoDecoder( |
- webrtc::VideoCodecType type) override; |
- |
- // Runs on Chrome_libJingle_WorkerThread. The child thread is blocked while |
- // this runs. |
- void DestroyVideoDecoder(webrtc::VideoDecoder* decoder) override; |
- |
- private: |
- media::GpuVideoAcceleratorFactories* gpu_factories_; |
- |
- DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoderFactory); |
-}; |
- |
-} // namespace content |
- |
-#endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_H_ |