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

Unified Diff: webkit/media/buffered_data_source.h

Issue 8661002: Fire CanPlayThrough immediately for local and streaming media files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add test for streaming case to DownloadRateMonitor Created 9 years, 1 month 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/buffered_data_source.h
diff --git a/webkit/media/buffered_data_source.h b/webkit/media/buffered_data_source.h
index 7987d09a42ef172c1eb007d56581d26fd1cdd269..212b42a6274e6b9c02078c7ad97c147fdb53d3d3 100644
--- a/webkit/media/buffered_data_source.h
+++ b/webkit/media/buffered_data_source.h
@@ -147,8 +147,8 @@ class BufferedDataSource : public WebDataSource {
int64 total_bytes_;
int64 buffered_bytes_;
- // True if this data source is considered loaded.
- bool loaded_;
+ // True if this data source is from a local file.
+ bool local_source_;
// This value will be true if this data source can only support streaming.
// i.e. range request is not supported.

Powered by Google App Engine
This is Rietveld 408576698