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

Issue 2172153005: Ensure that connection can be closed in response to a data message. (Closed)

Created:
4 years, 5 months ago by Sergey Ulanov
Modified:
4 years, 5 months ago
Reviewers:
Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure that connection can be closed in response to a data message. Added a unittest that verifies that it's safe to tear down connection synchronously in response to a message. Also fixed issues that were causing crashes in that scenario. Particularly added PeerConnectionWrapper that wraps PeerConnection for WebrtcTransport and allows closing it asynchronously. Committed: https://crrev.com/aed3bb654ae12f8670d17656fdbc6781d82ecfbb Cr-Commit-Position: refs/heads/master@{#407635}

Patch Set 1 : . #

Total comments: 5

Patch Set 2 : . #

Patch Set 3 : Pass all tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -65 lines) Patch
M remoting/protocol/connection_unittest.cc View 1 1 chunk +21 lines, -0 lines 0 comments Download
M remoting/protocol/webrtc_data_stream_adapter.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M remoting/protocol/webrtc_transport.h View 1 2 5 chunks +20 lines, -26 lines 0 comments Download
M remoting/protocol/webrtc_transport.cc View 1 2 15 chunks +120 lines, -38 lines 0 comments Download

Messages

Total messages: 26 (15 generated)
Sergey Ulanov
4 years, 5 months ago (2016-07-22 23:30:03 UTC) #3
Jamie
lgtm https://codereview.chromium.org/2172153005/diff/20001/remoting/protocol/connection_unittest.cc File remoting/protocol/connection_unittest.cc (right): https://codereview.chromium.org/2172153005/diff/20001/remoting/protocol/connection_unittest.cc#newcode363 remoting/protocol/connection_unittest.cc:363: .WillOnce(/*DoAll(InvokeWithoutArgs(this, &ConnectionTest::DestroyHost),*/ Remove the comment? https://codereview.chromium.org/2172153005/diff/20001/remoting/protocol/webrtc_transport.cc File remoting/protocol/webrtc_transport.cc ...
4 years, 5 months ago (2016-07-23 00:03:48 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/2172153005/diff/20001/remoting/protocol/connection_unittest.cc File remoting/protocol/connection_unittest.cc (right): https://codereview.chromium.org/2172153005/diff/20001/remoting/protocol/connection_unittest.cc#newcode363 remoting/protocol/connection_unittest.cc:363: .WillOnce(/*DoAll(InvokeWithoutArgs(this, &ConnectionTest::DestroyHost),*/ On 2016/07/23 00:03:48, Jamie wrote: > Remove ...
4 years, 5 months ago (2016-07-23 06:30:04 UTC) #5
Sergey Ulanov
https://codereview.chromium.org/2172153005/diff/20001/remoting/protocol/connection_unittest.cc File remoting/protocol/connection_unittest.cc (right): https://codereview.chromium.org/2172153005/diff/20001/remoting/protocol/connection_unittest.cc#newcode363 remoting/protocol/connection_unittest.cc:363: .WillOnce(/*DoAll(InvokeWithoutArgs(this, &ConnectionTest::DestroyHost),*/ On 2016/07/23 06:30:03, Sergey Ulanov wrote: > ...
4 years, 5 months ago (2016-07-23 06:31:33 UTC) #8
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/2172153005/40001
4 years, 5 months ago (2016-07-23 06:32:16 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/206451)
4 years, 5 months ago (2016-07-23 06:47:26 UTC) #13
Sergey Ulanov
Jamie, PTAL, There were more changes required in WebrtcTransport to make the new test pass ...
4 years, 5 months ago (2016-07-25 21:31:55 UTC) #16
Jamie
lgtm
4 years, 5 months ago (2016-07-25 21:42:37 UTC) #18
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/2172153005/60001
4 years, 5 months ago (2016-07-25 23:41:38 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 5 months ago (2016-07-25 23:45:59 UTC) #24
commit-bot: I haz the power
4 years, 5 months ago (2016-07-25 23:47:40 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/aed3bb654ae12f8670d17656fdbc6781d82ecfbb
Cr-Commit-Position: refs/heads/master@{#407635}

Powered by Google App Engine
This is Rietveld 408576698