summaryrefslogtreecommitdiffstats
path: root/media/base/filter_host.h
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 20:00:30 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 20:00:30 +0000
commit9d8c6da308c378adb3236b3723918897aca039e6 (patch)
tree7bc73d33668d886c6abbbc86e7946425b42bbc5a /media/base/filter_host.h
parent1ba48dd0630846f6c7e9ebd3ec16335fbb7b8c58 (diff)
downloadchromium_src-9d8c6da308c378adb3236b3723918897aca039e6.zip
chromium_src-9d8c6da308c378adb3236b3723918897aca039e6.tar.gz
chromium_src-9d8c6da308c378adb3236b3723918897aca039e6.tar.bz2
Correct network state and ready state reporting.
For network state, make it return "loading" for everything that's not a file source since our cache does not yet reliably support caching the full media w/o need for a network. For ready state, correctly handle seeks to drop from HaveEnoughData down to HaveMetaData until the seek completes. Also implement the seeking() function. BUG=18975 TEST=none Review URL: http://codereview.chromium.org/165432 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24002 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/filter_host.h')
-rw-r--r--media/base/filter_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/base/filter_host.h b/media/base/filter_host.h
index 02ae399..2b288d2 100644
--- a/media/base/filter_host.h
+++ b/media/base/filter_host.h
@@ -61,6 +61,9 @@ class 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;
+
// Broadcast a message of type |message| to all other filters from |source|.
virtual void BroadcastMessage(FilterMessage message) = 0;