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

Unified Diff: remoting/host/client_session_unittest.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/host/client_session.cc ('k') | remoting/proto/audio.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session_unittest.cc
diff --git a/remoting/host/client_session_unittest.cc b/remoting/host/client_session_unittest.cc
index c38021a50c3ae3083f5f8b95c0b43b4a8e36773a..16f92eddf8cbc350da96d6f6c2eb11ad9a78fb38 100644
--- a/remoting/host/client_session_unittest.cc
+++ b/remoting/host/client_session_unittest.cc
@@ -185,11 +185,10 @@ void ClientSessionTest::CreateClientSession() {
connection->set_client_stub(&client_stub_);
connection_ = connection.get();
- client_session_.reset(new ClientSession(
- &session_event_handler_,
- task_runner_, // Audio thread.
- std::move(connection), desktop_environment_factory_.get(),
- base::TimeDelta(), nullptr, extensions_));
+ client_session_.reset(
+ new ClientSession(&session_event_handler_, std::move(connection),
+ desktop_environment_factory_.get(), base::TimeDelta(),
+ nullptr, extensions_));
}
void ClientSessionTest::ConnectClientSession() {
@@ -205,7 +204,7 @@ void ClientSessionTest::ConnectClientSession() {
EXPECT_TRUE(connection_->clipboard_stub());
EXPECT_TRUE(connection_->input_stub());
- client_session_->CreateVideoStreams(client_session_->connection());
+ client_session_->CreateMediaStreams(client_session_->connection());
client_session_->OnConnectionChannelsConnected(client_session_->connection());
}
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/proto/audio.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698