Index: media/base/pipeline.h |
diff --git a/media/base/pipeline.h b/media/base/pipeline.h |
index 1c91f80848a6afb99a004e26b27b9e8ee5ef8227..d75766b00f892e99b0619ecf9360b57df5b0e431 100644 |
--- a/media/base/pipeline.h |
+++ b/media/base/pipeline.h |
@@ -159,13 +159,17 @@ class MEDIA_EXPORT Pipeline : public base::RefCountedThreadSafe<Pipeline> { |
// be 0. |
virtual void GetNaturalVideoSize(gfx::Size* out_size) const = 0; |
+ // Sets whether the source of the media is local, such as a local file on disk |
+ // or a local webcam stream. |
+ virtual void SetLocalSource(bool local_source) = 0; |
+ |
// If this method returns true, that means the data source is a streaming |
// 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; |