diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-18 09:30:32 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-18 09:30:32 +0000 |
commit | d399866c2fe77410afed5be486f2b72581823bed (patch) | |
tree | b7da4bc8b767ed87053ce974642598db1d1a6b4a /media/base/media_log.h | |
parent | 12bb3e11aac582a23034e3538a689e9a3a28da86 (diff) | |
download | chromium_src-d399866c2fe77410afed5be486f2b72581823bed.zip chromium_src-d399866c2fe77410afed5be486f2b72581823bed.tar.gz chromium_src-d399866c2fe77410afed5be486f2b72581823bed.tar.bz2 |
Fold media::PipelineImpl into media::Pipeline as there is only one implementation of the interface.
Three years ago I thought that having a separate interface would be A Good Thing. Needless to say there has never been a case where having an interface defintion of Pipeline came in handy as all clients create and access PipelineImpl objects directly.
Review URL: http://codereview.chromium.org/9243025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/media_log.h')
-rw-r--r-- | media/base/media_log.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/media/base/media_log.h b/media/base/media_log.h index 236c533..9b87361b 100644 --- a/media/base/media_log.h +++ b/media/base/media_log.h @@ -10,7 +10,7 @@ #include "base/synchronization/lock.h" #include "media/base/media_export.h" #include "media/base/media_log_event.h" -#include "media/base/pipeline_impl.h" +#include "media/base/pipeline.h" #include "media/base/pipeline_status.h" namespace media { @@ -19,7 +19,7 @@ class MEDIA_EXPORT MediaLog : public base::RefCountedThreadSafe<MediaLog> { public: // Convert various enums to strings. static const char* EventTypeToString(MediaLogEvent::Type type); - static const char* PipelineStateToString(PipelineImpl::State); + static const char* PipelineStateToString(Pipeline::State); static const char* PipelineStatusToString(PipelineStatus); MediaLog(); @@ -39,7 +39,7 @@ class MEDIA_EXPORT MediaLog : public base::RefCountedThreadSafe<MediaLog> { scoped_ptr<MediaLogEvent> CreateLoadEvent(const std::string& url); scoped_ptr<MediaLogEvent> CreateSeekEvent(float seconds); scoped_ptr<MediaLogEvent> CreatePipelineStateChangedEvent( - PipelineImpl::State state); + Pipeline::State state); scoped_ptr<MediaLogEvent> CreatePipelineErrorEvent(PipelineStatus error); scoped_ptr<MediaLogEvent> CreateVideoSizeSetEvent( size_t width, size_t height); |