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

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: make the line no longer than 80 chars 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
« no previous file with comments | « webkit/support/test_media_stream_client.h ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..cd729b4a9067e9f8cf5637be4f2da886cff35669 100644
--- a/webkit/support/test_media_stream_client.cc
+++ b/webkit/support/test_media_stream_client.cc
@@ -6,7 +6,6 @@
#include "googleurl/src/gurl.h"
#include "media/base/pipeline.h"
-#include "media/filters/video_frame_generator.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebMediaStream.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebMediaStreamTrack.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h"
@@ -59,21 +58,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;
« no previous file with comments | « webkit/support/test_media_stream_client.h ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698