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

Unified Diff: remoting/host/desktop_environment.h

Issue 7714026: Fixed continue window bugs and added 60s auto-shutdown timeout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Deactivate 60s timer if the user opts to continue. Created 9 years, 4 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
Index: remoting/host/desktop_environment.h
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h
index 9537461a15b51e22370a34755d3ef3e55f560617..bd8118621dff85716781f0ad917e8cc372ae9cbe 100644
--- a/remoting/host/desktop_environment.h
+++ b/remoting/host/desktop_environment.h
@@ -105,7 +105,7 @@ class DesktopEnvironment {
bool is_monitoring_local_inputs_;
// Timer controlling the "continue session" dialog.
- bool continue_timer_started_;
+ enum {INACTIVE, SHOW_DIALOG, HIDE_DIALOG} continue_timer_state_;
Sergey Ulanov 2011/08/24 01:56:45 This is not very readable. Please define type Cont
Jamie 2011/08/24 17:42:03 Done. I've also renamed HIDE_DIALOG to SHUTDOWN_HO
base::Time continue_timer_target_time_;
scoped_refptr<UIThreadProxy> proxy_;

Powered by Google App Engine
This is Rietveld 408576698