Index: webrtc/api/test/peerconnectiontestwrapper.h |
diff --git a/webrtc/api/test/peerconnectiontestwrapper.h b/webrtc/api/test/peerconnectiontestwrapper.h |
index 25510b2de079578711f15a59796dd0b91db1ebce..f744b57c223744415f8b1faa9c76c93da5bec935 100644 |
--- a/webrtc/api/test/peerconnectiontestwrapper.h |
+++ b/webrtc/api/test/peerconnectiontestwrapper.h |
@@ -25,7 +25,8 @@ class PeerConnectionTestWrapper |
static void Connect(PeerConnectionTestWrapper* caller, |
PeerConnectionTestWrapper* callee); |
- explicit PeerConnectionTestWrapper(const std::string& name); |
+ explicit PeerConnectionTestWrapper(const std::string& name, |
+ rtc::Thread* worker_thread); |
virtual ~PeerConnectionTestWrapper(); |
bool CreatePc(const webrtc::MediaConstraintsInterface* constraints); |
@@ -88,6 +89,7 @@ class PeerConnectionTestWrapper |
bool video, const webrtc::FakeConstraints& video_constraints); |
std::string name_; |
+ rtc::Thread* worker_thread_; |
rtc::scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_; |
rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> |
peer_connection_factory_; |