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

Unified Diff: remoting/protocol/connection_to_host.cc

Issue 10823323: Add support for multiplexed channels in remoting::protocol::Session interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
Index: remoting/protocol/connection_to_host.cc
diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc
index 53266601bcdd014d73154bca5a4505970ac6eb54..2064077a01a363e06516e6f22fd0c88b4ffd3e8f 100644
--- a/remoting/protocol/connection_to_host.cc
+++ b/remoting/protocol/connection_to_host.cc
@@ -171,8 +171,9 @@ void ConnectionToHost::OnSessionStateChange(
audio_reader_ = AudioReader::Create(session_->config());
if (audio_reader_.get()) {
- audio_reader_->Init(session_.get(), audio_stub_, base::Bind(
+ audio_reader_->Init(session_.get(), base::Bind(
&ConnectionToHost::OnChannelInitialized, base::Unretained(this)));
+ audio_reader_->set_audio_stub(audio_stub_);
}
control_dispatcher_.reset(new ClientControlDispatcher());

Powered by Google App Engine
This is Rietveld 408576698