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

Issue 2596393002: Update IPC message handling for SecurityKeyIpcClient class (Closed)

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

Description

Update IPC message handling for SecurityKeyIpcClient class Per discussion with DCheng, we should not be DCHECK'ing if we receive the connection IPC message out of order or when not expected. This change will now call the error callback if this situation occurs which will gracefully close the IPC connection. I've also added unit tests for these scenarios. BUG=675818 Committed: https://crrev.com/d383cc3285b2d20ed583d74a50f6dc019dc8bb3a Cr-Commit-Position: refs/heads/master@{#440563}

Patch Set 1 #

Patch Set 2 : Removing unnecessary patchset dependency #

Total comments: 4

Patch Set 3 : Addressing CR Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -28 lines) Patch
M remoting/host/security_key/security_key_ipc_client.cc View 1 2 6 chunks +26 lines, -11 lines 0 comments Download
M remoting/host/security_key/security_key_ipc_client_unittest.cc View 11 chunks +93 lines, -17 lines 0 comments Download

Messages

Total messages: 24 (18 generated)
joedow
PTAL!
3 years, 12 months ago (2016-12-22 21:06:38 UTC) #6
Sergey Ulanov
LGTM https://codereview.chromium.org/2596393002/diff/20001/remoting/host/security_key/security_key_ipc_client.cc File remoting/host/security_key/security_key_ipc_client.cc (right): https://codereview.chromium.org/2596393002/diff/20001/remoting/host/security_key/security_key_ipc_client.cc#newcode157 remoting/host/security_key/security_key_ipc_client.cc:157: } else { nit: It would be a ...
3 years, 12 months ago (2016-12-22 23:01:36 UTC) #9
joedow
Thanks! https://codereview.chromium.org/2596393002/diff/20001/remoting/host/security_key/security_key_ipc_client.cc File remoting/host/security_key/security_key_ipc_client.cc (right): https://codereview.chromium.org/2596393002/diff/20001/remoting/host/security_key/security_key_ipc_client.cc#newcode157 remoting/host/security_key/security_key_ipc_client.cc:157: } else { On 2016/12/22 23:01:36, Sergey Ulanov ...
3 years, 12 months ago (2016-12-22 23:39:00 UTC) #12
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/2596393002/40001
3 years, 12 months ago (2016-12-23 00:33:32 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
3 years, 12 months ago (2016-12-23 00:39:58 UTC) #22
commit-bot: I haz the power
3 years, 12 months ago (2016-12-23 00:42:44 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d383cc3285b2d20ed583d74a50f6dc019dc8bb3a
Cr-Commit-Position: refs/heads/master@{#440563}

Powered by Google App Engine
This is Rietveld 408576698