Chromium Code Reviews| 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..3c56d32eb9f07f680e40964e7a0705104f60cd8b 100644 |
| --- a/remoting/host/server_log_entry.h |
| +++ b/remoting/host/server_log_entry.h |
| @@ -34,6 +34,9 @@ class ServerLogEntry { |
| // Adds a field describing the mode of a connection to this log entry. |
| void AddModeField(Mode mode); |
| + // Adds a filed describing connection type (direct/stun/relay). |
|
simonmorris
2012/03/19 22:17:05
"filed" -> "field".
Sergey Ulanov
2012/03/19 23:21:03
Done.
|
| + void AddConnectionTypeField(const std::string& type); |
| + |
| // Converts this object to an XML stanza. |
| // The caller takes ownership of the stanza. |
| buzz::XmlElement* ToStanza() const; |
| @@ -42,7 +45,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); |