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

Unified Diff: remoting/test/it2me_standalone_host.cc

Issue 2254673002: Remove dependency on AudioStub in ConnectionToClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 4 years, 3 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
« no previous file with comments | « remoting/protocol/webrtc_connection_to_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/it2me_standalone_host.cc
diff --git a/remoting/test/it2me_standalone_host.cc b/remoting/test/it2me_standalone_host.cc
index f18d0053898aaa48d25ce2cb727a5e24d14cab2c..2052dbfa93a5122eb70de981bb4ceb882c2d3046 100644
--- a/remoting/test/it2me_standalone_host.cc
+++ b/remoting/test/it2me_standalone_host.cc
@@ -59,7 +59,6 @@ It2MeStandaloneHost::It2MeStandaloneHost()
.WillRepeatedly(testing::ReturnRef(session_jid_));
EXPECT_CALL(*static_cast<MockSession*>(connection_.session()), config())
.WillRepeatedly(testing::ReturnRef(*config_));
- connection_.set_audio_stub(event_logger_.audio_stub());
connection_.set_video_stub(event_logger_.video_stub());
connection_.set_client_stub(event_logger_.client_stub());
connection_.set_host_stub(event_logger_.host_stub());
@@ -84,16 +83,12 @@ void It2MeStandaloneHost::StartOutputTimer() {
void It2MeStandaloneHost::Connect() {
session_.reset(new ClientSession(
- &handler_,
- context_->audio_task_runner(),
- std::unique_ptr<protocol::ConnectionToClient>(&connection_),
- &factory_,
- base::TimeDelta(),
- scoped_refptr<protocol::PairingRegistry>(),
+ &handler_, std::unique_ptr<protocol::ConnectionToClient>(&connection_),
+ &factory_, base::TimeDelta(), scoped_refptr<protocol::PairingRegistry>(),
std::vector<HostExtension*>()));
session_->OnConnectionAuthenticated(&connection_);
session_->OnConnectionChannelsConnected(&connection_);
- session_->CreateVideoStreams(&connection_);
+ session_->CreateMediaStreams(&connection_);
}
} // namespace test
« no previous file with comments | « remoting/protocol/webrtc_connection_to_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698