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

Issue 2600623002: Adding retry logic for applying desktop resolution changes to RDP session. (Closed)

Created:
4 years ago by joedow
Modified:
3 years, 11 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding retry logic for applying desktop resolution changes to RDP session. This change adds retry logic for applying resolution changes when the session is first started. The RDP API we rely on can return E_UNEXPECTED for a few seconds after the user logs in. This is not documented on MSDN but has been experienced by other users of the API. This change adds a timer which is used to retry the resolution update until it succeeds or reaches the max number of attempts. Once the user is logged on, we do not use the retry logic as calls after that point are expected to succeed. BUG=392220 Committed: https://crrev.com/b901d5b1a44d24ffc592dd8293fd86ef984f87f6 Cr-Commit-Position: refs/heads/master@{#441382}

Patch Set 1 #

Patch Set 2 : Fixing some comments #

Patch Set 3 : Merging with ToT #

Total comments: 6

Patch Set 4 : Addressing CR feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -16 lines) Patch
M remoting/host/win/rdp_client_window.h View 1 2 3 3 chunks +17 lines, -2 lines 0 comments Download
M remoting/host/win/rdp_client_window.cc View 1 2 3 11 chunks +48 lines, -14 lines 0 comments Download

Messages

Total messages: 21 (15 generated)
joedow
PTAL! Note: I chose to use a timer here instead of posting a delayed task ...
4 years ago (2016-12-22 23:11:15 UTC) #4
Sergey Ulanov
lgtm https://codereview.chromium.org/2600623002/diff/60001/remoting/host/win/rdp_client_window.cc File remoting/host/win/rdp_client_window.cc (right): https://codereview.chromium.org/2600623002/diff/60001/remoting/host/win/rdp_client_window.cc#newcode232 remoting/host/win/rdp_client_window.cc:232: << result << std::dec; I don't think you ...
3 years, 12 months ago (2016-12-27 21:16:13 UTC) #12
joedow
Thanks! https://codereview.chromium.org/2600623002/diff/60001/remoting/host/win/rdp_client_window.cc File remoting/host/win/rdp_client_window.cc (right): https://codereview.chromium.org/2600623002/diff/60001/remoting/host/win/rdp_client_window.cc#newcode232 remoting/host/win/rdp_client_window.cc:232: << result << std::dec; On 2016/12/27 21:16:13, Sergey ...
3 years, 11 months ago (2017-01-04 15:47:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2600623002/80001
3 years, 11 months ago (2017-01-04 15:49:20 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:80001)
3 years, 11 months ago (2017-01-04 16:09:19 UTC) #19
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 16:11:11 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b901d5b1a44d24ffc592dd8293fd86ef984f87f6
Cr-Commit-Position: refs/heads/master@{#441382}

Powered by Google App Engine
This is Rietveld 408576698