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

Unified Diff: webrtc/media/engine/webrtcmediaengine.h

Issue 2934103002: Allow WebRtcMediaEngine to be created from any thread. (Closed)
Patch Set: Created 3 years, 6 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: webrtc/media/engine/webrtcmediaengine.h
diff --git a/webrtc/media/engine/webrtcmediaengine.h b/webrtc/media/engine/webrtcmediaengine.h
index 1fc988d1f45299b430526b05431b9ecdf48569f4..db955d0a72aa890b7dcf4f7947e9c8e6c1d93f9e 100644
--- a/webrtc/media/engine/webrtcmediaengine.h
+++ b/webrtc/media/engine/webrtcmediaengine.h
@@ -32,6 +32,10 @@ namespace cricket {
class WebRtcMediaEngineFactory {
public:
+ // These Create methods may be called on any thread, though the engine is
+ // only expected to be used on one thread, internally called the "worker
+ // thread". This is the thread Init must be called on.
+
// TODO(ossu): Backwards-compatible interface. Will be deprecated once the
// audio decoder factory is fully plumbed and used throughout WebRTC.
// See: crbug.com/webrtc/6000

Powered by Google App Engine
This is Rietveld 408576698