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

Issue 7714026: Fixed continue window bugs and added 60s auto-shutdown timeout. (Closed)

Created:
9 years, 4 months ago by Jamie
Modified:
9 years, 4 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Fixed continue window bugs and added 60s auto-shutdown timeout. BUG=92415 TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98253

Patch Set 1 #

Patch Set 2 : Deactivate 60s timer if the user opts to continue. #

Total comments: 9

Patch Set 3 : Incorporated comments froms sergeyu@ #

Total comments: 4

Patch Set 4 : Incorporated comments froms sergeyu@ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -13 lines) Patch
M remoting/host/chromoting_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/desktop_environment.h View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M remoting/host/desktop_environment.cc View 1 2 3 6 chunks +39 lines, -11 lines 0 comments Download
M remoting/webapp/me2mom/choice.css View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/webapp/me2mom/client_session.js View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M remoting/webapp/me2mom/remoting.js View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Jamie
This CL implements a 60s timer on the continue window, after which the connection is ...
9 years, 4 months ago (2011-08-24 01:06:54 UTC) #1
Sergey Ulanov
http://codereview.chromium.org/7714026/diff/2001/remoting/host/desktop_environment.cc File remoting/host/desktop_environment.cc (right): http://codereview.chromium.org/7714026/diff/2001/remoting/host/desktop_environment.cc#newcode19 remoting/host/desktop_environment.cc:19: static const int kContinueWindowShowTimeoutMs = 10 * 1000; Revert ...
9 years, 4 months ago (2011-08-24 01:56:45 UTC) #2
Jamie
http://codereview.chromium.org/7714026/diff/2001/remoting/host/desktop_environment.cc File remoting/host/desktop_environment.cc (right): http://codereview.chromium.org/7714026/diff/2001/remoting/host/desktop_environment.cc#newcode19 remoting/host/desktop_environment.cc:19: static const int kContinueWindowShowTimeoutMs = 10 * 1000; On ...
9 years, 4 months ago (2011-08-24 17:42:02 UTC) #3
Sergey Ulanov
LGTM if the comments are fixed. http://codereview.chromium.org/7714026/diff/3004/remoting/host/desktop_environment.cc File remoting/host/desktop_environment.cc (right): http://codereview.chromium.org/7714026/diff/3004/remoting/host/desktop_environment.cc#newcode240 remoting/host/desktop_environment.cc:240: if (continue_timer_state_ == ...
9 years, 4 months ago (2011-08-24 18:38:36 UTC) #4
Jamie
9 years, 4 months ago (2011-08-25 00:16:39 UTC) #5
http://codereview.chromium.org/7714026/diff/3004/remoting/host/desktop_enviro...
File remoting/host/desktop_environment.cc (right):

http://codereview.chromium.org/7714026/diff/3004/remoting/host/desktop_enviro...
remoting/host/desktop_environment.cc:240: if (continue_timer_state_ == INACTIVE
||
On 2011/08/24 18:38:37, sergeyu wrote:
> The comment above this line may be confusing now. Please move the new check
> below. Even better would be to use switch statement for
|continue_timer_state_|

Done.

http://codereview.chromium.org/7714026/diff/3004/remoting/host/desktop_enviro...
File remoting/host/desktop_environment.h (right):

http://codereview.chromium.org/7714026/diff/3004/remoting/host/desktop_enviro...
remoting/host/desktop_environment.h:108: enum ContinueTimerState {
On 2011/08/24 18:38:37, sergeyu wrote:
> Type definition should precede methods declaration:
>
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Declar...

Done.

Powered by Google App Engine
This is Rietveld 408576698