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

Unified Diff: media/base/filter_host.h

Issue 8936014: Removing DataSource from Filter hierarchy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build busters Created 9 years 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 807fd5f94b5e82ce06af587471325bdd46a30160..cb486cefc9682e16df39f6079c01a93267af928d 100644
--- a/media/base/filter_host.h
+++ b/media/base/filter_host.h
@@ -38,21 +38,6 @@ class MEDIA_EXPORT FilterHost {
// time.
virtual void SetTime(base::TimeDelta time) = 0;
- // Get the duration of the media in microseconds. If the duration has not
- // been determined yet, then returns 0.
- virtual void SetDuration(base::TimeDelta duration) = 0;
-
- // Set the approximate amount of playable data buffered so far in micro-
- // seconds.
- virtual void SetBufferedTime(base::TimeDelta buffered_time) = 0;
-
- // Set the total size of the media file.
- virtual void SetTotalBytes(int64 total_bytes) = 0;
-
- // Sets the total number of bytes that are buffered on the client and ready to
- // be played.
- virtual void SetBufferedBytes(int64 buffered_bytes) = 0;
-
// Sets the natural size of the video output in pixel units.
virtual void SetNaturalVideoSize(const gfx::Size& size) = 0;
@@ -60,19 +45,10 @@ class MEDIA_EXPORT FilterHost {
// endpoints such as renderers.
virtual void NotifyEnded() = 0;
- // Sets the flag to indicate current network activity.
- virtual void SetNetworkActivity(bool is_downloading_data) = 0;
-
// Disable audio renderer by calling OnAudioRendererDisabled() on all
// filters.
virtual void DisableAudioRenderer() = 0;
- // Sets the byte offset at which the client is requesting the video.
- virtual void SetCurrentReadPosition(int64 offset) = 0;
-
- // Gets the byte offset at which the client is requesting the video.
- virtual int64 GetCurrentReadPosition() = 0;
-
protected:
virtual ~FilterHost() {}
};

Powered by Google App Engine
This is Rietveld 408576698