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

Unified Diff: remoting/host/remoting_me2me_host.cc

Issue 1530523002: More cleanups in JingleSessionManager interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@transport_context
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
« no previous file with comments | « remoting/host/it2me/it2me_host.cc ('k') | remoting/protocol/connection_to_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index 7e668d43a741eb1ebd3c171689a4442f017c1778..8710c728bf6d4ce420fec7dcae98c1eaba313543 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -1524,7 +1524,8 @@ void HostProcess::StartHost() {
new protocol::IceTransportFactory(transport_context));
}
scoped_ptr<protocol::SessionManager> session_manager(
- new protocol::JingleSessionManager(transport_factory.Pass()));
+ new protocol::JingleSessionManager(transport_factory.Pass(),
+ signal_strategy_.get()));
scoped_ptr<protocol::CandidateSessionConfig> protocol_config =
protocol::CandidateSessionConfig::CreateDefault();
@@ -1540,7 +1541,7 @@ void HostProcess::StartHost() {
session_manager->set_protocol_config(protocol_config.Pass());
host_.reset(new ChromotingHost(
- signal_strategy_.get(), desktop_environment_factory_.get(),
+ desktop_environment_factory_.get(),
session_manager.Pass(), context_->audio_task_runner(),
context_->input_task_runner(), context_->video_capture_task_runner(),
context_->video_encode_task_runner(), context_->network_task_runner(),
« no previous file with comments | « remoting/host/it2me/it2me_host.cc ('k') | remoting/protocol/connection_to_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698