diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-01 01:53:46 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-01 01:53:46 +0000 |
commit | e82c0e351d9c1f2be8f72fd880ac7e7a271dc3af (patch) | |
tree | e3339b683acb8211b728c6406b359036217c1df2 /webkit/media/webmediaplayer_impl.h | |
parent | cf387ce5d958fed40d649c18895428b5dab61af8 (diff) | |
download | chromium_src-e82c0e351d9c1f2be8f72fd880ac7e7a271dc3af.zip chromium_src-e82c0e351d9c1f2be8f72fd880ac7e7a271dc3af.tar.gz chromium_src-e82c0e351d9c1f2be8f72fd880ac7e7a271dc3af.tar.bz2 |
Use base::MessageLoopProxy instead of MessageLoop* in webkit/media/.
Minor cleanup split off into a separate CL while working on bug 177730.
Review URL: https://codereview.chromium.org/12388039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/media/webmediaplayer_impl.h')
-rw-r--r-- | webkit/media/webmediaplayer_impl.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/webkit/media/webmediaplayer_impl.h b/webkit/media/webmediaplayer_impl.h index 9518f24..d430334 100644 --- a/webkit/media/webmediaplayer_impl.h +++ b/webkit/media/webmediaplayer_impl.h @@ -53,7 +53,6 @@ #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" -#include "base/message_loop.h" #include "base/threading/thread.h" #include "googleurl/src/gurl.h" #include "media/base/audio_renderer_sink.h" @@ -72,6 +71,10 @@ namespace WebKit { class WebFrame; } +namespace base { +class MessageLoopProxy; +} + namespace media { class ChunkDemuxer; class MediaLog; @@ -282,9 +285,9 @@ class WebMediaPlayerImpl // Keep a list of buffered time ranges. WebKit::WebTimeRanges buffered_; - // Message loops for posting tasks between Chrome's main thread. Also used + // Message loops for posting tasks on Chrome's main thread. Also used // for DCHECKs so methods calls won't execute in the wrong thread. - MessageLoop* main_loop_; + const scoped_refptr<base::MessageLoopProxy> main_loop_; scoped_ptr<media::FilterCollection> filter_collection_; scoped_refptr<media::Pipeline> pipeline_; |