diff options
author | simonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-22 16:44:12 +0000 |
---|---|---|
committer | simonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-22 16:44:12 +0000 |
commit | bd7b911d9b6bba55f90833fe93fe2c2f434b8551 (patch) | |
tree | c565e04a88b33703ec3682b0bbf6577c3421f49f /remoting/host/log_to_server.cc | |
parent | 49a1f3fdb7215a9e7ab25a54f4e33ff13fc04417 (diff) | |
download | chromium_src-bd7b911d9b6bba55f90833fe93fe2c2f434b8551.zip chromium_src-bd7b911d9b6bba55f90833fe93fe2c2f434b8551.tar.gz chromium_src-bd7b911d9b6bba55f90833fe93fe2c2f434b8551.tar.bz2 |
[Chromoting] Add platform data to heartbeats.
BUG=126491
Review URL: https://chromiumcodereview.appspot.com/10409017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138275 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/log_to_server.cc')
-rw-r--r-- | remoting/host/log_to_server.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/remoting/host/log_to_server.cc b/remoting/host/log_to_server.cc index 723b709..efac9c2 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::MakeStanza()); while (!pending_entries_.empty()) { ServerLogEntry& entry = pending_entries_.front(); stanza->AddElement(entry.ToStanza().release()); |