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

Unified Diff: media/base/data_source.h

Issue 9864022: Move DataSource::SetPreload() to BufferedDataSource. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: Created 8 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/base/demuxer.h » ('j') | webkit/media/webmediaplayer_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/data_source.h
diff --git a/media/base/data_source.h b/media/base/data_source.h
index 75772373ed7f5b8f84f3d7c4d7522dd8437f11c1..3b51f3fff5c09f88a7d44bcf4afa2030195258e8 100644
--- a/media/base/data_source.h
+++ b/media/base/data_source.h
@@ -8,7 +8,6 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "media/base/media_export.h"
-#include "media/base/preload.h"
namespace media {
@@ -61,9 +60,6 @@ class MEDIA_EXPORT DataSource : public base::RefCountedThreadSafe<DataSource> {
// not possible.
virtual bool IsStreaming() = 0;
- // Alert the DataSource that the video preload value has been changed.
- virtual void SetPreload(Preload preload) = 0;
-
// Notify the DataSource of the bitrate of the media.
// Values of |bitrate| <= 0 are invalid and should be ignored.
virtual void SetBitrate(int bitrate) = 0;
« no previous file with comments | « no previous file | media/base/demuxer.h » ('j') | webkit/media/webmediaplayer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698