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

Unified Diff: webkit/media/webmediaplayer_proxy.h

Issue 10558011: Fix ChunkDemuxer so it properly outputs buffered ranges. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed everything to use media::Ranges. Created 8 years, 6 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
Index: webkit/media/webmediaplayer_proxy.h
diff --git a/webkit/media/webmediaplayer_proxy.h b/webkit/media/webmediaplayer_proxy.h
index 241638889f284ffff12d84285c329c0daa163e0a..abe4e24f40fa809dd881dad3d6a07bba15e640f7 100644
--- a/webkit/media/webmediaplayer_proxy.h
+++ b/webkit/media/webmediaplayer_proxy.h
@@ -100,8 +100,7 @@ class WebMediaPlayerProxy
const std::string& type,
std::vector<std::string>& codecs);
void DemuxerRemoveId(const std::string& id);
- bool DemuxerBufferedRange(const std::string& id,
- media::ChunkDemuxer::Ranges* ranges_out);
+ media::Ranges<base::TimeDelta> DemuxerBufferedRange(const std::string& id);
bool DemuxerAppend(const std::string& id, const uint8* data, size_t length);
void DemuxerAbort(const std::string& id);
void DemuxerEndOfStream(media::PipelineStatus status);

Powered by Google App Engine
This is Rietveld 408576698