Index: remoting/host/simple_host_process.cc |
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc |
index 58e3c5d294548b21c8c27fbbe6ed13d318a6d200..8bbd44e9859e4837d5882266871b7307c97b2775 100644 |
--- a/remoting/host/simple_host_process.cc |
+++ b/remoting/host/simple_host_process.cc |
@@ -44,7 +44,9 @@ |
#include "remoting/host/it2me_host_user_interface.h" |
#include "remoting/host/json_host_config.h" |
#include "remoting/host/log_to_server.h" |
+#include "remoting/host/network_settings.h" |
#include "remoting/host/register_support_host_request.h" |
+#include "remoting/host/session_manager_factory.h" |
#include "remoting/host/signaling_connector.h" |
#include "remoting/jingle_glue/xmpp_signal_strategy.h" |
#include "remoting/proto/video.pb.h" |
@@ -232,8 +234,10 @@ class SimpleHost : public HeartbeatSender::Listener { |
desktop_environment_ = DesktopEnvironment::Create(&context_); |
} |
- host_ = new ChromotingHost(&context_, signal_strategy_.get(), |
- desktop_environment_.get(), network_settings_); |
+ host_ = new ChromotingHost( |
+ &context_, signal_strategy_.get(), desktop_environment_.get(), |
+ CreateHostSessionManager(network_settings_, |
+ context_.url_request_context_getter())); |
ServerLogEntry::Mode mode = |
is_it2me_ ? ServerLogEntry::IT2ME : ServerLogEntry::ME2ME; |