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

Unified Diff: media/base/data_source.h

Issue 224093011: Move DataSourceHost to BufferedDataSourceHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows release build. Created 6 years, 8 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 | « content/renderer/media/webmediaplayer_impl.cc ('k') | media/base/data_source.cc » ('j') | no next file with comments »
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 58587e73a9519079fb358021ec8bfb9cbc3ed000..dca1dd30dad48ba407e5f5b432f0b2271cd0b202 100644
--- a/media/base/data_source.h
+++ b/media/base/data_source.h
@@ -11,22 +11,6 @@
namespace media {
-// TODO(sandersd): Rename to BufferedDataSourceHost and move to
-// content/renderer/media/.
-class MEDIA_EXPORT DataSourceHost {
- public:
- // Set the total size of the media file.
- virtual void SetTotalBytes(int64 total_bytes) = 0;
-
- // Notify the host that byte range [start,end] has been buffered.
- // TODO(fischman): remove this method when demuxing is push-based instead of
- // pull-based. http://crbug.com/131444
- virtual void AddBufferedByteRange(int64 start, int64 end) = 0;
-
- protected:
- virtual ~DataSourceHost();
-};
-
class MEDIA_EXPORT DataSource {
public:
typedef base::Callback<void(int64, int64)> StatusCallback;
« no previous file with comments | « content/renderer/media/webmediaplayer_impl.cc ('k') | media/base/data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698