Index: remoting/host/chromoting_host.cc |
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc |
index 9a9abee43c591ea9728d257d29b1bc55a1c25eb9..e902ce6d943381120ab6495bfcef3ffbda296ec0 100644 |
--- a/remoting/host/chromoting_host.cc |
+++ b/remoting/host/chromoting_host.cc |
@@ -96,7 +96,7 @@ ChromotingHost::~ChromotingHost() { |
DCHECK(clients_.empty()); |
} |
-void ChromotingHost::Start() { |
+void ChromotingHost::Start(const std::string& xmpp_login) { |
DCHECK(context_->network_task_runner()->BelongsToCurrentThread()); |
LOG(INFO) << "Starting host"; |
@@ -106,6 +106,9 @@ void ChromotingHost::Start() { |
return; |
state_ = kStarted; |
+ FOR_EACH_OBSERVER(HostStatusObserver, status_observers_, |
+ OnStart(xmpp_login)); |
+ |
// Start the SessionManager, supplying this ChromotingHost as the listener. |
session_manager_->Init(signal_strategy_, this); |
} |