Propogate network-worker thread split to api
BUG=webrtc:5645
Review-Url: https://codereview.webrtc.org/1968393002
Cr-Commit-Position: refs/heads/master@{#12767}
diff --git a/webrtc/api/test/peerconnectiontestwrapper.h b/webrtc/api/test/peerconnectiontestwrapper.h
index 7a9bea4..3272366 100644
--- a/webrtc/api/test/peerconnectiontestwrapper.h
+++ b/webrtc/api/test/peerconnectiontestwrapper.h
@@ -27,8 +27,9 @@
static void Connect(PeerConnectionTestWrapper* caller,
PeerConnectionTestWrapper* callee);
- explicit PeerConnectionTestWrapper(const std::string& name,
- rtc::Thread* worker_thread);
+ PeerConnectionTestWrapper(const std::string& name,
+ rtc::Thread* network_thread,
+ rtc::Thread* worker_thread);
virtual ~PeerConnectionTestWrapper();
bool CreatePc(const webrtc::MediaConstraintsInterface* constraints);
@@ -91,7 +92,8 @@
bool video, const webrtc::FakeConstraints& video_constraints);
std::string name_;
- rtc::Thread* worker_thread_;
+ rtc::Thread* const network_thread_;
+ rtc::Thread* const worker_thread_;
rtc::scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_;
rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface>
peer_connection_factory_;