Commit 88e7a49a authored by dmaclach@chromium.org's avatar dmaclach@chromium.org

Fix up confirmation window not reshowing.

BUG=92498
TEST=With remoting, Connect and keep the session there for > 10m, hit continue and do it again. Expect dialog to come up again.

Review URL: http://codereview.chromium.org/7650003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96652 0039d316-1c4b-4281-b951-d872f2087c98
parent 60fc9600
......@@ -188,7 +188,7 @@ void DesktopEnvironment::ShowContinueWindow(bool show) {
void DesktopEnvironment::StartContinueWindowTimer(bool start) {
DCHECK(context_->IsUIThread());
if (start && ! continue_timer_started_) {
if (start && !continue_timer_started_) {
continue_timer_target_time_ = base::Time::Now() +
base::TimeDelta::FromMilliseconds(kContinueWindowTimeoutMs);
proxy_->CallOnUIThreadDelayed(
......@@ -208,6 +208,7 @@ void DesktopEnvironment::ContinueWindowTimerFunc() {
if (continue_timer_target_time_ > base::Time::Now())
return;
continue_timer_started_ = false;
host_->PauseSession(true);
ShowContinueWindow(true);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment