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

Unified Diff: media/base/pipeline.h

Issue 8661002: Fire CanPlayThrough immediately for local and streaming media files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase ToT 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: media/base/pipeline.h
diff --git a/media/base/pipeline.h b/media/base/pipeline.h
index 1c91f80848a6afb99a004e26b27b9e8ee5ef8227..1534ea5cc865eec3644ed0426cb71f13d7df33fb 100644
--- a/media/base/pipeline.h
+++ b/media/base/pipeline.h
@@ -163,9 +163,9 @@ class MEDIA_EXPORT Pipeline : public base::RefCountedThreadSafe<Pipeline> {
// data source. Seeking may not be possible.
virtual bool IsStreaming() const = 0;
- // If this method returns true, that means the data source has fully loaded
- // the media and that the network is no longer needed.
- virtual bool IsLoaded() const = 0;
+ // If this method returns true, that means the data source is local and
+ // the network is not needed.
+ virtual bool IsLocalSource() const = 0;
// Gets the current pipeline statistics.
virtual PipelineStatistics GetStatistics() const = 0;

Powered by Google App Engine
This is Rietveld 408576698