| Index: content/renderer/media/webmediaplayer_impl.h
|
| diff --git a/content/renderer/media/webmediaplayer_impl.h b/content/renderer/media/webmediaplayer_impl.h
|
| index d59b7c2a390fe0a6d82ec322f3886447643abe0b..2a16e22fa8d9ea44354b6dac8b2c3e34ffce5b8d 100644
|
| --- a/content/renderer/media/webmediaplayer_impl.h
|
| +++ b/content/renderer/media/webmediaplayer_impl.h
|
| @@ -13,6 +13,7 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/threading/thread.h"
|
| +#include "content/renderer/media/buffered_data_source_host_impl.h"
|
| #include "content/renderer/media/crypto/proxy_decryptor.h"
|
| #include "content/renderer/media/video_frame_compositor.h"
|
| #include "media/base/audio_renderer_sink.h"
|
| @@ -114,6 +115,8 @@ class WebMediaPlayerImpl
|
| virtual blink::WebMediaPlayer::NetworkState networkState() const;
|
| virtual blink::WebMediaPlayer::ReadyState readyState() const;
|
|
|
| + // TODO(sandersd): Change this to non-const in blink::WebMediaPlayer.
|
| + // http://crbug.com/360251
|
| virtual bool didLoadingProgress() const;
|
|
|
| virtual bool hasSingleSecurityOrigin() const;
|
| @@ -244,9 +247,6 @@ class WebMediaPlayerImpl
|
| blink::WebMediaPlayer::NetworkState network_state_;
|
| blink::WebMediaPlayer::ReadyState ready_state_;
|
|
|
| - // Keep a list of buffered time ranges.
|
| - blink::WebTimeRanges buffered_;
|
| -
|
| // Message loops for posting tasks on Chrome's main thread. Also used
|
| // for DCHECKs so methods calls won't execute in the wrong thread.
|
| const scoped_refptr<base::MessageLoopProxy> main_loop_;
|
| @@ -320,6 +320,10 @@ class WebMediaPlayerImpl
|
| scoped_ptr<media::Demuxer> demuxer_;
|
| media::ChunkDemuxer* chunk_demuxer_;
|
|
|
| + BufferedDataSourceHostImpl buffered_data_source_host_;
|
| + // TODO(sandersd): Remove this cache. http://crbug.com/360254
|
| + blink::WebTimeRanges buffered_web_time_ranges_;
|
| +
|
| // Temporary for EME v0.1. In the future the init data type should be passed
|
| // through GenerateKeyRequest() directly from WebKit.
|
| std::string init_data_type_;
|
|
|