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

Unified Diff: remoting/host/chromoting_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/host/audio_pump_unittest.cc ('k') | remoting/host/chromoting_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.cc
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index 4cc660627434707a98eed4932d764f1fad2a7557..0dd25a957dff15bc79fadf0836494b88eae9a6b1 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -272,14 +272,13 @@ void ChromotingHost::OnIncomingSession(
} else {
connection.reset(new protocol::IceConnectionToClient(
base::WrapUnique(session), transport_context_,
- video_encode_task_runner_));
+ video_encode_task_runner_, audio_task_runner_));
}
// Create a ClientSession object.
- ClientSession* client =
- new ClientSession(this, audio_task_runner_, std::move(connection),
- desktop_environment_factory_, max_session_duration_,
- pairing_registry_, extensions_.get());
+ ClientSession* client = new ClientSession(
+ this, std::move(connection), desktop_environment_factory_,
+ max_session_duration_, pairing_registry_, extensions_.get());
clients_.push_back(client);
}
« no previous file with comments | « remoting/host/audio_pump_unittest.cc ('k') | remoting/host/chromoting_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698