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

Unified Diff: content/renderer/media/media_stream_dependency_factory.h

Issue 282523003: Deliver video frames on libjingle worker thread to WebRtcVideoCapturerAdapter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months 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: content/renderer/media/media_stream_dependency_factory.h
diff --git a/content/renderer/media/media_stream_dependency_factory.h b/content/renderer/media/media_stream_dependency_factory.h
index 4c42ff4f84a6bbe39abff5b3b4e1d00c4b89004a..cd2893496ac334e8aaed46f2ed23174e6203e438 100644
--- a/content/renderer/media/media_stream_dependency_factory.h
+++ b/content/renderer/media/media_stream_dependency_factory.h
@@ -131,6 +131,10 @@ class CONTENT_EXPORT MediaStreamDependencyFactory
const blink::WebMediaStreamTrack& webkit_track,
bool is_local_track);
+ scoped_refptr<base::MessageLoopProxy> worker_thread_proxy() {
tommi (sloooow) - chröme 2014/05/12 14:20:41 Can we call this GetWebRtcWorkerThread() and move
perkj_chrome 2014/05/12 15:39:51 Done.
+ return chrome_worker_thread_.message_loop_proxy();
+ }
+
protected:
// Asks the PeerConnection factory to create a Local Audio Source.
virtual scoped_refptr<webrtc::AudioSourceInterface>

Powered by Google App Engine
This is Rietveld 408576698