summaryrefslogtreecommitdiffstats
path: root/remoting/host/server_log_entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/server_log_entry.h')
-rw-r--r--remoting/host/server_log_entry.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/remoting/host/server_log_entry.h b/remoting/host/server_log_entry.h
index 3e8e68b..ccaa850 100644
--- a/remoting/host/server_log_entry.h
+++ b/remoting/host/server_log_entry.h
@@ -9,6 +9,8 @@
#include <string>
#include "base/memory/scoped_ptr.h"
+#include "remoting/host/host_exit_codes.h"
+#include "remoting/host/host_status_sender.h"
#include "remoting/protocol/transport.h"
namespace buzz {
@@ -37,6 +39,10 @@ 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(
+ HostStatusSender::HostStatus host_status, HostExitCodes exit_code);
+
~ServerLogEntry();
// Adds fields describing the host to this log entry.