Index: webkit/media/media_stream_client.h |
=================================================================== |
--- webkit/media/media_stream_client.h (revision 135772) |
+++ webkit/media/media_stream_client.h (working copy) |
@@ -10,16 +10,21 @@ |
class GURL; |
namespace media { |
+class MessageLoopFactory; |
class VideoDecoder; |
-class MessageLoopFactory; |
} |
namespace webkit_media { |
+class VideoFrameProvider; |
+ |
// Define an interface for media stream client to get some information about |
// the media stream. |
class MediaStreamClient { |
public: |
+ virtual bool IsMediaStream(const WebKit::WebURL url) = 0; |
+ virtual scoped_refptr<webkit_media::VideoFrameProvider> GetVideoFrameProvider( |
+ const GURL& url, const base::Closure& paint_cb) = 0; |
virtual scoped_refptr<media::VideoDecoder> GetVideoDecoder( |
const GURL& url, |
media::MessageLoopFactory* message_loop_factory) = 0; |