| Index: remoting/host/host_status_sender.cc
|
| diff --git a/remoting/host/host_status_sender.cc b/remoting/host/host_status_sender.cc
|
| index 545fce44a434708231526abd1299eac07e1e45f1..5198866544ccd9b7f2a76488059392597ca9a7c9 100644
|
| --- a/remoting/host/host_status_sender.cc
|
| +++ b/remoting/host/host_status_sender.cc
|
| @@ -9,14 +9,16 @@
|
| #include "base/time/time.h"
|
| #include "remoting/base/constants.h"
|
| #include "remoting/base/logging.h"
|
| -#include "remoting/host/server_log_entry.h"
|
| +#include "remoting/host/server_log_entry_host.h"
|
| #include "remoting/jingle_glue/iq_sender.h"
|
| #include "remoting/jingle_glue/signal_strategy.h"
|
| +#include "remoting/protocol/server_log_entry.h"
|
| #include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
|
| #include "third_party/libjingle/source/talk/xmpp/constants.h"
|
|
|
| using buzz::QName;
|
| using buzz::XmlElement;
|
| +using remoting::protocol::ServerLogEntry;
|
|
|
| namespace remoting {
|
|
|
| @@ -123,8 +125,8 @@ scoped_ptr<XmlElement> HostStatusSender::CreateHostStatusMessage(
|
| // Append log message (which isn't signed).
|
| scoped_ptr<XmlElement> log(ServerLogEntry::MakeStanza());
|
| scoped_ptr<ServerLogEntry> log_entry(
|
| - ServerLogEntry::MakeForHostStatus(status, exit_code));
|
| - log_entry->AddHostFields();
|
| + MakeLogEntryForHostStatus(status, exit_code));
|
| + AddHostFieldsToLogEntry(log_entry.get());
|
| log->AddElement(log_entry->ToStanza().release());
|
| host_status->AddElement(log.release());
|
| return host_status.Pass();
|
|
|