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

Unified Diff: media/base/filter_host.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: media/base/filter_host.h
diff --git a/media/base/filter_host.h b/media/base/filter_host.h
index 412fdd778c6ea1ee4d497d2ed7703f7d147c792b..c2514d5e2dbfb913717725739dcb5525b9bcb8a7 100644
--- a/media/base/filter_host.h
+++ b/media/base/filter_host.h
@@ -63,8 +63,11 @@ class MEDIA_EXPORT FilterHost {
// endpoints such as renderers.
virtual void NotifyEnded() = 0;
- // Sets the flag to indicate that our media is now loaded.
- virtual void SetLoaded(bool loaded) = 0;
+ // Sets the flag to indicate the source of the media is local, such as a
+ // local file on disk.
+ // NOTE: The "FromFilter" is unfortunate; it is needed so as not to conflict
+ // with the SetLocalSource method in the Pipeline interface.
+ virtual void SetLocalSourceFromFilter(bool local_source) = 0;
// Sets the flag to indicate current network activity.
virtual void SetNetworkActivity(bool is_downloading_data) = 0;

Powered by Google App Engine
This is Rietveld 408576698