Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2382)

Unified Diff: remoting/host/server_log_entry.h

Issue 18075003: Host offline status reporting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/server_log_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ccaa8501bc04b524aa17171925265992a6278122 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.
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/server_log_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698