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

Unified Diff: media/blink/multibuffer_data_source.h

Issue 2689323002: Media: Delete Pause-To-Buffer. (Closed)
Patch Set: Rebase. Created 3 years, 9 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 | « no previous file | media/blink/multibuffer_data_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | media/blink/multibuffer_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698