| Index: remoting/host/server_log_entry.cc
|
| diff --git a/remoting/host/server_log_entry.cc b/remoting/host/server_log_entry.cc
|
| index f18b2378d2673da82082e78b100c217c6e3ebae4..437755e5aa6b979d425c55114ea939a0237cd098 100644
|
| --- a/remoting/host/server_log_entry.cc
|
| +++ b/remoting/host/server_log_entry.cc
|
| @@ -26,6 +26,7 @@ const char kLogEntry[] = "entry";
|
| const char kKeyEventName[] = "event-name";
|
| const char kValueEventNameSessionState[] = "session-state";
|
| const char kValueEventNameHeartbeat[] = "heartbeat";
|
| +const char kValueEventNameHostStatus[] = "host-status";
|
|
|
| const char kKeyRole[] = "role";
|
| const char kValueRoleHost[] = "host";
|
| @@ -84,6 +85,14 @@ scoped_ptr<ServerLogEntry> ServerLogEntry::MakeForHeartbeat() {
|
| return entry.Pass();
|
| }
|
|
|
| +// static
|
| +scoped_ptr<ServerLogEntry> ServerLogEntry::MakeForHostStatus() {
|
| + scoped_ptr<ServerLogEntry> entry(new ServerLogEntry());
|
| + entry->Set(kKeyRole, kValueRoleHost);
|
| + entry->Set(kKeyEventName, kValueEventNameHostStatus);
|
| + return entry.Pass();
|
| +}
|
| +
|
| void ServerLogEntry::AddHostFields() {
|
| #if defined(OS_WIN)
|
| Set(kKeyOsName, kValueOsNameWindows);
|
|
|