| Index: media/blink/multibuffer_data_source.h
|
| diff --git a/media/blink/multibuffer_data_source.h b/media/blink/multibuffer_data_source.h
|
| index fed8e2dccadfc9c75e866859cf9f5a0b7442017b..bf4c5eac69be0ed981a58737c5926db9d789a463 100644
|
| --- a/media/blink/multibuffer_data_source.h
|
| +++ b/media/blink/multibuffer_data_source.h
|
| @@ -53,14 +53,6 @@ class MEDIA_BLINK_EXPORT MultibufferDataSource : public DataSource {
|
| AUTO,
|
| };
|
|
|
| - // Enum values must match the values in
|
| - // blink::WebMediaPlayer::BufferingStrategy and there will be assertions at
|
| - // compile time if they do not match.
|
| - enum BufferingStrategy {
|
| - BUFFERING_STRATEGY_NORMAL,
|
| - BUFFERING_STRATEGY_AGGRESSIVE,
|
| - };
|
| -
|
| // |url| and |cors_mode| are passed to the object. Buffered byte range changes
|
| // will be reported to |host|. |downloading_cb| will be called whenever the
|
| // downloading/paused state of the source changes.
|
| @@ -84,10 +76,6 @@ class MEDIA_BLINK_EXPORT MultibufferDataSource : public DataSource {
|
| // Adjusts the buffering algorithm based on the given preload value.
|
| void SetPreload(Preload preload);
|
|
|
| - // Adjusts the buffering algorithm based on the given buffering strategy
|
| - // value.
|
| - void SetBufferingStrategy(BufferingStrategy buffering_strategy);
|
| -
|
| // Returns true if the media resource has a single origin, false otherwise.
|
| // Only valid to call after Initialize() has completed.
|
| //
|
| @@ -226,9 +214,6 @@ class MEDIA_BLINK_EXPORT MultibufferDataSource : public DataSource {
|
| // least once.
|
| bool media_has_played_;
|
|
|
| - // Buffering strategy set by SetBufferingStrategy.
|
| - BufferingStrategy buffering_strategy_;
|
| -
|
| // As we follow redirects, we set this variable to false if redirects
|
| // go between different origins.
|
| bool single_origin_;
|
|
|