| Index: remoting/host/desktop_environment.h
|
| diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h
|
| index 9537461a15b51e22370a34755d3ef3e55f560617..0fc00c9d511ffc46208a22e862835b0a42c3b5a4 100644
|
| --- a/remoting/host/desktop_environment.h
|
| +++ b/remoting/host/desktop_environment.h
|
| @@ -58,6 +58,12 @@ class DesktopEnvironment {
|
| void OnPause(bool pause);
|
|
|
| private:
|
| + enum ContinueTimerState {
|
| + INACTIVE, // The timer is not running or has been cancelled.
|
| + SHOW_DIALOG, // Show the continue dialog when the timer expires.
|
| + SHUTDOWN_HOST // Shutdown the Chromoting host when the timer expires.
|
| + };
|
| +
|
| void ProcessOnConnect(const std::string& username);
|
| void ProcessOnLastDisconnect();
|
| void ProcessOnPause(bool pause);
|
| @@ -105,7 +111,7 @@ class DesktopEnvironment {
|
| bool is_monitoring_local_inputs_;
|
|
|
| // Timer controlling the "continue session" dialog.
|
| - bool continue_timer_started_;
|
| + ContinueTimerState continue_timer_state_;
|
| base::Time continue_timer_target_time_;
|
|
|
| scoped_refptr<UIThreadProxy> proxy_;
|
|
|