summaryrefslogtreecommitdiffstats
path: root/media/base/pipeline.h
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 22:09:28 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 22:09:28 +0000
commit128740bbcd5abb0c75254e6eb57b46192c1f47d1 (patch)
tree635b88468f502fdf65828766735de711e86170e2 /media/base/pipeline.h
parent6973e1cbd7434f30ed00c49a23838a82f90e8a0f (diff)
downloadchromium_src-128740bbcd5abb0c75254e6eb57b46192c1f47d1.zip
chromium_src-128740bbcd5abb0c75254e6eb57b46192c1f47d1.tar.gz
chromium_src-128740bbcd5abb0c75254e6eb57b46192c1f47d1.tar.bz2
Renamed FilterHost::Error() and Pipeline::GetTime() to more appropriate names.
BUG=17107 TEST=none Review URL: http://codereview.chromium.org/155711 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/pipeline.h')
-rw-r--r--media/base/pipeline.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/media/base/pipeline.h b/media/base/pipeline.h
index d6f6241..83e30ef 100644
--- a/media/base/pipeline.h
+++ b/media/base/pipeline.h
@@ -81,7 +81,8 @@ class Pipeline {
// Attempt to seek to the position specified by time. |seek_callback| will be
// executed when the all filters in the pipeline have processed the seek.
//
- // Clients are expected to call GetTime() to check whether the seek succeeded.
+ // Clients are expected to call GetCurrentTime() to check whether the seek
+ // succeeded.
virtual void Seek(base::TimeDelta time, PipelineCallback* seek_callback) = 0;
// Returns true if the pipeline has been started via Start(). If IsRunning()
@@ -125,7 +126,7 @@ class Pipeline {
// Gets the current pipeline time. For a pipeline "time" progresses from 0 to
// the end of the media.
- virtual base::TimeDelta GetTime() const = 0;
+ virtual base::TimeDelta GetCurrentTime() const = 0;
// Get the approximate amount of playable data buffered so far in micro-
// seconds.