Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1297)

Unified Diff: media/filters/gpu_video_decoder.h

Issue 11468033: Vanquish the remnants of media::MessageLoopFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/filters/gpu_video_decoder.h
diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h
index 6c1fec3766022f0718a753f0772de01b6b295862..ae51189af890b75d976813e125a8c0f64c8ee209 100644
--- a/media/filters/gpu_video_decoder.h
+++ b/media/filters/gpu_video_decoder.h
@@ -55,13 +55,15 @@ class MEDIA_EXPORT GpuVideoDecoder
// Close()ing the returned pointer.
virtual base::SharedMemory* CreateSharedMemory(size_t size) = 0;
+ // Returns the message loop the VideoDecodeAccelerator runs on.
+ virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() = 0;
scherkus (not reviewing) 2012/12/07 23:54:11 this is because we now create GpuVideoDecoder in w
+
protected:
friend class base::RefCountedThreadSafe<Factories>;
virtual ~Factories();
};
- GpuVideoDecoder(const scoped_refptr<base::MessageLoopProxy>& gvd_loop_proxy,
- const scoped_refptr<base::MessageLoopProxy>& vda_loop_proxy,
+ GpuVideoDecoder(const scoped_refptr<base::MessageLoopProxy>& message_loop,
const scoped_refptr<Factories>& factories);
// VideoDecoder implementation.

Powered by Google App Engine
This is Rietveld 408576698