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

Unified Diff: webkit/support/test_media_stream_client.cc

Issue 12320078: Delete old RTCVideoDecoder code path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add svn revision Created 7 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: webkit/support/test_media_stream_client.cc
diff --git a/webkit/support/test_media_stream_client.cc b/webkit/support/test_media_stream_client.cc
index 69df55ac474507dbe2471e3ce6188211e33d6a03..20ad1ad17fd2e164547b870cea5ec0d9924023fa 100644
--- a/webkit/support/test_media_stream_client.cc
+++ b/webkit/support/test_media_stream_client.cc
@@ -59,21 +59,6 @@ TestMediaStreamClient::GetVideoFrameProvider(
repaint_cb);
}
-scoped_refptr<media::VideoDecoder> TestMediaStreamClient::GetVideoDecoder(
- const GURL& url,
- const scoped_refptr<base::MessageLoopProxy>& message_loop) {
- // This class is installed in a chain of possible VideoDecoder creators
- // which are called in order until one returns an object.
- // Make sure we are dealing with a Mock MediaStream. If not, bail out.
- if (!IsMockMediaStreamWithVideo(url))
- return NULL;
-
- return new media::VideoFrameGenerator(
- message_loop,
- gfx::Size(kVideoCaptureWidth, kVideoCaptureHeight),
- base::TimeDelta::FromMilliseconds(kVideoCaptureFrameDurationMs));
-}
-
scoped_refptr<webkit_media::MediaStreamAudioRenderer>
TestMediaStreamClient::GetAudioRenderer(const GURL& url) {
return NULL;

Powered by Google App Engine
This is Rietveld 408576698