| 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..0552d6a9cd1758f7e8cc901370906da3b121d7d3 100644
|
| --- a/remoting/host/server_log_entry.h
|
| +++ b/remoting/host/server_log_entry.h
|
| @@ -8,6 +8,8 @@
|
| #include <map>
|
| #include <string>
|
|
|
| +#include "remoting/protocol/transport.h"
|
| +
|
| namespace buzz {
|
| class XmlElement;
|
| } // namespace buzz
|
| @@ -34,6 +36,9 @@ class ServerLogEntry {
|
| // Adds a field describing the mode of a connection to this log entry.
|
| void AddModeField(Mode mode);
|
|
|
| + // Adds a field describing connection type (direct/stun/relay).
|
| + void AddConnectionTypeField(protocol::TransportRoute::RouteType type);
|
| +
|
| // Converts this object to an XML stanza.
|
| // The caller takes ownership of the stanza.
|
| buzz::XmlElement* ToStanza() const;
|
| @@ -42,7 +47,7 @@ class ServerLogEntry {
|
| typedef std::map<std::string, std::string> ValuesMap;
|
|
|
| ServerLogEntry();
|
| - void Set(const char* key, const char* value);
|
| + void Set(const std::string& key, const std::string& value);
|
|
|
| static const char* GetValueSessionState(bool connected);
|
| static const char* GetValueMode(Mode mode);
|
|
|