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

Issue 2466433002: Add mojo::edk::ClosePeerConnection. (Closed)

Created:
4 years, 1 month ago by Sam McNally
Modified:
4 years, 1 month ago
CC:
chrome-apps-syd-reviews_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add mojo::edk::ClosePeerConnection. Remoting needs to run an IPC server on a well-known named pipe to support remote security key requests. However, this server should only accept connections while a remote desktop session is active and any previous peer process connections awaiting a connection should be closed. This CL adds a mojo embedder API to close a peer connection to support this use case. BUG=604282 Committed: https://crrev.com/e0ba60e6c1734b2da106eefb2b8926373cd7e527 Cr-Commit-Position: refs/heads/master@{#429710}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -24 lines) Patch
M mojo/edk/embedder/embedder.h View 1 chunk +12 lines, -0 lines 0 comments Download
M mojo/edk/embedder/embedder.cc View 1 chunk +12 lines, -1 line 0 comments Download
M mojo/edk/embedder/embedder_unittest.cc View 1 3 chunks +100 lines, -0 lines 0 comments Download
M mojo/edk/embedder/named_platform_handle_utils_win.cc View 1 1 chunk +6 lines, -1 line 0 comments Download
M mojo/edk/system/core.h View 1 chunk +3 lines, -2 lines 0 comments Download
M mojo/edk/system/core.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M mojo/edk/system/node_controller.h View 4 chunks +32 lines, -5 lines 0 comments Download
M mojo/edk/system/node_controller.cc View 8 chunks +69 lines, -11 lines 0 comments Download
M mojo/edk/test/mojo_test_base.h View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/edk/test/mojo_test_base.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/edk/test/multiprocess_test_helper.h View 2 chunks +4 lines, -0 lines 0 comments Download
M mojo/edk/test/multiprocess_test_helper.cc View 2 chunks +10 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 51 (41 generated)
Sam McNally
This was the previous, less-hacky approach for closing pending mojo peer connections. As far as ...
4 years, 1 month ago (2016-11-03 00:40:18 UTC) #33
Ken Rockot(use gerrit already)
LGTM #3 seems like the most elegant solution in isolation, but I agree it may ...
4 years, 1 month ago (2016-11-03 05:02:52 UTC) #34
Sam McNally
https://codereview.chromium.org/2466433002/diff/120001/mojo/edk/embedder/embedder_unittest.cc File mojo/edk/embedder/embedder_unittest.cc (right): https://codereview.chromium.org/2466433002/diff/120001/mojo/edk/embedder/embedder_unittest.cc#newcode589 mojo/edk/embedder/embedder_unittest.cc:589: for (size_t i = 0; i < 10; i++) ...
4 years, 1 month ago (2016-11-03 07:13:36 UTC) #37
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/2466433002/140001
4 years, 1 month ago (2016-11-03 07:14:24 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years, 1 month ago (2016-11-03 08:20:11 UTC) #42
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/2466433002/140001
4 years, 1 month ago (2016-11-03 08:32:04 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years, 1 month ago (2016-11-03 10:32:37 UTC) #46
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/2466433002/140001
4 years, 1 month ago (2016-11-03 22:03:57 UTC) #48
commit-bot: I haz the power
Committed patchset #2 (id:140001)
4 years, 1 month ago (2016-11-03 22:15:03 UTC) #49
commit-bot: I haz the power
4 years, 1 month ago (2016-11-03 22:18:45 UTC) #51
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e0ba60e6c1734b2da106eefb2b8926373cd7e527
Cr-Commit-Position: refs/heads/master@{#429710}

Powered by Google App Engine
This is Rietveld 408576698