Index: remoting/host/chromoting_host.h |
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h |
index a6b18115d819ae952974dee190099517a76b4fb4..8baee1ed357232578d92f034fc545bdc6fa992b7 100644 |
--- a/remoting/host/chromoting_host.h |
+++ b/remoting/host/chromoting_host.h |
@@ -17,6 +17,7 @@ |
#include "base/threading/thread.h" |
#include "net/base/backoff_entry.h" |
#include "remoting/host/client_session.h" |
+#include "remoting/host/host_exit_codes.h" |
#include "remoting/host/host_extension.h" |
#include "remoting/host/host_status_monitor.h" |
#include "remoting/host/host_status_observer.h" |
@@ -88,6 +89,7 @@ class ChromotingHost : public base::NonThreadSafe, |
// |
// This method can only be called once during the lifetime of this object. |
void Start(const std::string& host_owner); |
+ void SetExitCode(HostExitCodes exit_code); |
// HostStatusMonitor interface. |
void AddStatusObserver(HostStatusObserver* observer) override; |
@@ -192,6 +194,7 @@ class ChromotingHost : public base::NonThreadSafe, |
// True if the host has been started. |
bool started_; |
+ HostExitCodes exit_code_; |
// Configuration of the protocol. |
scoped_ptr<protocol::CandidateSessionConfig> protocol_config_; |