Index: remoting/host/server_log_entry.h |
diff --git a/remoting/host/server_log_entry.h b/remoting/host/server_log_entry.h |
index 3353569efe177fbcc855dfdeb82803ad8b25adc7..a1c090ccd6f0120c7373b0624095e8a124e841cf 100644 |
--- a/remoting/host/server_log_entry.h |
+++ b/remoting/host/server_log_entry.h |
@@ -8,6 +8,8 @@ |
#include <map> |
#include <string> |
+#include "base/memory/scoped_ptr.h" |
+ |
namespace buzz { |
class XmlElement; |
} // namespace buzz |
@@ -35,8 +37,7 @@ class ServerLogEntry { |
void AddModeField(Mode mode); |
// Converts this object to an XML stanza. |
- // The caller takes ownership of the stanza. |
- buzz::XmlElement* ToStanza() const; |
+ scoped_ptr<buzz::XmlElement> ToStanza() const; |
private: |
typedef std::map<std::string, std::string> ValuesMap; |