diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-17 22:09:28 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-17 22:09:28 +0000 |
commit | 128740bbcd5abb0c75254e6eb57b46192c1f47d1 (patch) | |
tree | 635b88468f502fdf65828766735de711e86170e2 /media/base/pipeline_impl.h | |
parent | 6973e1cbd7434f30ed00c49a23838a82f90e8a0f (diff) | |
download | chromium_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_impl.h')
-rw-r--r-- | media/base/pipeline_impl.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/media/base/pipeline_impl.h b/media/base/pipeline_impl.h index e9f44d5..6b97c94 100644 --- a/media/base/pipeline_impl.h +++ b/media/base/pipeline_impl.h @@ -45,7 +45,7 @@ class PipelineImpl : public Pipeline { virtual void SetPlaybackRate(float playback_rate); virtual float GetVolume() const; virtual void SetVolume(float volume); - virtual base::TimeDelta GetTime() const; + virtual base::TimeDelta GetCurrentTime() const; virtual base::TimeDelta GetBufferedTime() const; virtual base::TimeDelta GetDuration() const; virtual int64 GetBufferedBytes() const; @@ -195,9 +195,10 @@ class PipelineInternal : public base::RefCountedThreadSafe<PipelineInternal> { // that have registered a time update callback. void SetTime(base::TimeDelta time); - // Called by a FilterHostImpl on behalf of a filter calling FilterHost::Error. - // If the pipeline is running a nested message loop, it will be exited. - void Error(PipelineError error); + // Called by a FilterHostImpl on behalf of a filter calling + // FilterHost::SetError(). If the pipeline is running a nested message loop, + // it will be exited. + void SetError(PipelineError error); // Simple accessor used by the FilterHostImpl class to get access to the // pipeline object. @@ -263,7 +264,7 @@ class PipelineInternal : public base::RefCountedThreadSafe<PipelineInternal> { // - StopTask() resets the pipeline to a fresh state, where as ErrorTask() // leaves the pipeline as is for client inspection. // - StopTask() can be scheduled by the client calling Stop(), where as - // ErrorTask() is scheduled as a result of a filter calling Error(). + // ErrorTask() is scheduled as a result of a filter calling SetError(). void StopTask(PipelineCallback* stop_callback); void ErrorTask(PipelineError error); |