Index: remoting/host/desktop_environment.h |
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h |
index 9537461a15b51e22370a34755d3ef3e55f560617..96c44e0205a90f93afa1ed1cccf4e57610edd5dc 100644 |
--- a/remoting/host/desktop_environment.h |
+++ b/remoting/host/desktop_environment.h |
@@ -105,7 +105,12 @@ class DesktopEnvironment { |
bool is_monitoring_local_inputs_; |
// Timer controlling the "continue session" dialog. |
- bool continue_timer_started_; |
+ enum ContinueTimerState { |
Sergey Ulanov
2011/08/24 18:38:37
Type definition should precede methods declaration
Jamie
2011/08/25 00:16:39
Done.
|
+ 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. |
+ }; |
+ ContinueTimerState continue_timer_state_; |
base::Time continue_timer_target_time_; |
scoped_refptr<UIThreadProxy> proxy_; |