Index: remoting/host/server_log_entry.h |
diff --git a/remoting/host/server_log_entry.h b/remoting/host/server_log_entry.h |
index 3e8e68ba229c32560b145da9dbbc3fe82d7ae213..9d163d1492ad8dee1a09e369c242b2bef3823464 100644 |
--- a/remoting/host/server_log_entry.h |
+++ b/remoting/host/server_log_entry.h |
@@ -37,6 +37,9 @@ class ServerLogEntry { |
// Constructs a log entry for a heartbeat. |
static scoped_ptr<ServerLogEntry> MakeForHeartbeat(); |
+ // Constructs a log entry for a host status message. |
+ static scoped_ptr<ServerLogEntry> MakeForHostStatus(); |
+ |
~ServerLogEntry(); |
// Adds fields describing the host to this log entry. |
@@ -48,6 +51,8 @@ class ServerLogEntry { |
// Adds a field describing connection type (direct/stun/relay). |
void AddConnectionTypeField(protocol::TransportRoute::RouteType type); |
+ void AddCustomField(const std::string& name, const std::string& value); |
+ |
// Converts this object to an XML stanza. |
scoped_ptr<buzz::XmlElement> ToStanza() const; |