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

Unified Diff: remoting/protocol/webrtc_transport_unittest.cc

Issue 1510333002: Cleanups in WebrtcTransport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: remoting/protocol/webrtc_transport_unittest.cc
diff --git a/remoting/protocol/webrtc_transport_unittest.cc b/remoting/protocol/webrtc_transport_unittest.cc
index d3270856622990ddf1f54d07c20faf725022d3bd..1797a7e2eb9dff245107671ae4e44af2df9f2232 100644
--- a/remoting/protocol/webrtc_transport_unittest.cc
+++ b/remoting/protocol/webrtc_transport_unittest.cc
@@ -90,7 +90,7 @@ class WebrtcTransportTest : public testing::Test {
signal_strategy_.reset(new FakeSignalStrategy(kTestJid));
host_transport_factory_.reset(new WebrtcTransportFactory(
- signal_strategy_.get(),
+ jingle_glue::JingleThreadWrapper::current(), signal_strategy_.get(),
ChromiumPortAllocatorFactory::Create(network_settings_, nullptr),
TransportRole::SERVER));
host_transport_ = host_transport_factory_->CreateTransport();
@@ -98,7 +98,7 @@ class WebrtcTransportTest : public testing::Test {
FakeAuthenticator::HOST, 0, FakeAuthenticator::ACCEPT, false));
client_transport_factory_.reset(new WebrtcTransportFactory(
- signal_strategy_.get(),
+ jingle_glue::JingleThreadWrapper::current(), signal_strategy_.get(),
ChromiumPortAllocatorFactory::Create(network_settings_, nullptr),
TransportRole::CLIENT));
client_transport_ = client_transport_factory_->CreateTransport();
« remoting/protocol/webrtc_transport.cc ('K') | « remoting/protocol/webrtc_transport.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698