| Index: remoting/host/log_to_server.cc
|
| diff --git a/remoting/host/log_to_server.cc b/remoting/host/log_to_server.cc
|
| index 723b70994484605328dd2d78361909143811c6b9..15ff032ee8023c0287eb2a1c76a25f9ade0ab18b 100644
|
| --- a/remoting/host/log_to_server.cc
|
| +++ b/remoting/host/log_to_server.cc
|
| @@ -21,10 +21,6 @@ using buzz::XmlElement;
|
|
|
| namespace remoting {
|
|
|
| -namespace {
|
| -const char kLogCommand[] = "log";
|
| -} // namespace
|
| -
|
| LogToServer::LogToServer(ChromotingHost* host,
|
| ServerLogEntry::Mode mode,
|
| SignalStrategy* signal_strategy)
|
| @@ -112,8 +108,7 @@ void LogToServer::SendPendingEntries() {
|
| return;
|
| }
|
| // Make one stanza containing all the pending entries.
|
| - scoped_ptr<XmlElement> stanza(new XmlElement(QName(
|
| - kChromotingXmlNamespace, kLogCommand)));
|
| + scoped_ptr<XmlElement> stanza(ServerLogEntry::MakeLogStanza());
|
| while (!pending_entries_.empty()) {
|
| ServerLogEntry& entry = pending_entries_.front();
|
| stanza->AddElement(entry.ToStanza().release());
|
|
|