diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-06 19:50:49 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-06 19:50:49 +0000 |
commit | 7e042d142e6f9cbb634beb77689ca6a400f3ffcb (patch) | |
tree | fb2d99d8454f51923a77fe8079f628930e8b9023 /media | |
parent | 919d77f0a3b4ef47d6e8f4c92a70ba3f310cfaf4 (diff) | |
download | chromium_src-7e042d142e6f9cbb634beb77689ca6a400f3ffcb.zip chromium_src-7e042d142e6f9cbb634beb77689ca6a400f3ffcb.tar.gz chromium_src-7e042d142e6f9cbb634beb77689ca6a400f3ffcb.tar.bz2 |
Forgot to make a few media::FilterHostInterface functions pure virtual.
Review URL: http://codereview.chromium.org/16527
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7601 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/base/filter_host.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/media/base/filter_host.h b/media/base/filter_host.h index 87af514..d8ce26d 100644 --- a/media/base/filter_host.h +++ b/media/base/filter_host.h @@ -49,40 +49,40 @@ namespace media { class FilterHostInterface { public: // Returns the global time. - virtual int64 GetTime() const; + virtual int64 GetTime() const = 0; // Updates the global time. - virtual void SetTime(int64 time); + virtual void SetTime(int64 time) = 0; // Returns the global duration. - virtual int64 GetDuration() const; + virtual int64 GetDuration() const = 0; // Updates the global media duration. - virtual void SetDuration(int64 duration); + virtual void SetDuration(int64 duration) = 0; // Posts a task to be executed asynchronously. - virtual void PostTask(Task* task); + virtual void PostTask(Task* task) = 0; // Notifies the host that the filter has transitioned into the playing state. - virtual bool PlayComplete(); + virtual bool PlayComplete() = 0; // Notifies the host that the filter has transitioned into the paused state. - virtual bool PauseComplete(); + virtual bool PauseComplete() = 0; // Notifies the host that the filter has transitioned into the seek state. - virtual bool SeekComplete(); + virtual bool SeekComplete() = 0; // Notifies the host that the filter has transitioned into the shutdown state. - virtual bool ShutdownComplete(); + virtual bool ShutdownComplete() = 0; // Notifies the host that an error has occurred and that further processing // cannot continue. |error| identifies the type of error that occurred. // // TODO(scherkus): Add error constants as we start implementing filters. - virtual void Error(int error); + virtual void Error(int error) = 0; // Notifies the host that the end of the stream has been reached. - virtual void EndOfStream(); + virtual void EndOfStream() = 0; // Registers a callback to handle the play state transition. The filter must // call PlayComplete at some point in the future to signal completion of |