diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 20:28:01 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 20:28:01 +0000 |
commit | fb0b6de9ebf451952e32faad2ac3a1087f93cb5a (patch) | |
tree | 9a803e8b86cf15f9aad85c7660e253c31bf2f774 /content/renderer/media/media_stream_impl.h | |
parent | 31cbe0ba16b9e2557c8a4b9c3dcffe602720ca16 (diff) | |
download | chromium_src-fb0b6de9ebf451952e32faad2ac3a1087f93cb5a.zip chromium_src-fb0b6de9ebf451952e32faad2ac3a1087f93cb5a.tar.gz chromium_src-fb0b6de9ebf451952e32faad2ac3a1087f93cb5a.tar.bz2 |
Revert 92590 - add CaptureVideoDecoder for local preview and VideoCaptureModuleImpl for rtc encoding channel.
BUG=none
TEST=try bots
Review URL: http://codereview.chromium.org/7204008
TBR=wjia@chromium.org
Review URL: http://codereview.chromium.org/7375007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92592 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/media/media_stream_impl.h')
-rw-r--r-- | content/renderer/media/media_stream_impl.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/content/renderer/media/media_stream_impl.h b/content/renderer/media/media_stream_impl.h deleted file mode 100644 index b338a31..0000000 --- a/content/renderer/media/media_stream_impl.h +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) 2011 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_STREAM_MEDIA_STREAM_IMPL_H_ -#define CONTENT_RENDERER_MEDIA_STREAM_MEDIA_STREAM_IMPL_H_ - -#include "base/basictypes.h" -#include "base/memory/ref_counted.h" -#include "webkit/glue/media/media_stream_client.h" - -class VideoCaptureImplManager; - -// A implementation of StreamClient to provide supporting functions, such as -// GetVideoDecoder. -class MediaStreamImpl - : public webkit_glue::MediaStreamClient, - public base::RefCountedThreadSafe<MediaStreamImpl> { - public: - explicit MediaStreamImpl(VideoCaptureImplManager* vc_manager); - virtual ~MediaStreamImpl(); - - // Implement webkit_glue::StreamClient. - virtual scoped_refptr<media::VideoDecoder> GetVideoDecoder( - const GURL& url, media::MessageLoopFactory* message_loop_factory); - - private: - scoped_refptr<VideoCaptureImplManager> vc_manager_; - - DISALLOW_COPY_AND_ASSIGN(MediaStreamImpl); -}; - -#endif // CONTENT_RENDERER_MEDIA_STREAM_MEDIA_STREAM_IMPL_H_ |