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

Issue 2514093002: Mojo EDK: Clean shutdown for ScopedIPCSupport in tests (Closed)

Created:
4 years, 1 month ago by Ken Rockot(use gerrit already)
Modified:
4 years, 1 month ago
Reviewers:
yzshen1
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mojo EDK: Clean shutdown for ScopedIPCSupport in tests This properly supports clean shutdown in test processes which initialize the EDK, blocking ScopedIPCSupport destruction to wait on EDK shutdown. Fixes some rare races in child process exit which can cause premature message pipe breakage. BUG=666356 R=yzshen@chromium.org TBR=vabr@chromium.org (ICWYU) TBR=ben@chromium.org (toplevel ICWYU) Committed: https://crrev.com/cf1d7d0b6ef21635ebaaa217389f108a3d6db6e8 Cr-Commit-Position: refs/heads/master@{#433795}

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : MORE ICWYU #

Patch Set 12 : table flip emoji #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -58 lines) Patch
M chrome/renderer/autofill/form_autocomplete_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_render_frame_observer_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager/content/renderer/credential_manager_client_browsertest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_mojo_bootstrap_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M mojo/edk/test/run_all_unittests.cc View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M mojo/edk/test/scoped_ipc_support.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +3 lines, -25 lines 0 comments Download
M mojo/edk/test/scoped_ipc_support.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +29 lines, -29 lines 0 comments Download

Messages

Total messages: 76 (59 generated)
Ken Rockot(use gerrit already)
4 years, 1 month ago (2016-11-19 01:19:01 UTC) #5
Ken Rockot(use gerrit already)
Please take a look. Thanks!
4 years, 1 month ago (2016-11-19 01:19:20 UTC) #6
yzshen1
https://codereview.chromium.org/2514093002/diff/1/mojo/edk/test/scoped_ipc_support.cc File mojo/edk/test/scoped_ipc_support.cc (right): https://codereview.chromium.org/2514093002/diff/1/mojo/edk/test/scoped_ipc_support.cc#newcode39 mojo/edk/test/scoped_ipc_support.cc:39: quit_closure.Run(); (My understanding of the embedder API is purely ...
4 years, 1 month ago (2016-11-20 06:07:35 UTC) #7
Ken Rockot(use gerrit already)
On 2016/11/20 at 06:07:35, yzshen wrote: > https://codereview.chromium.org/2514093002/diff/1/mojo/edk/test/scoped_ipc_support.cc > File mojo/edk/test/scoped_ipc_support.cc (right): > > https://codereview.chromium.org/2514093002/diff/1/mojo/edk/test/scoped_ipc_support.cc#newcode39 ...
4 years, 1 month ago (2016-11-21 17:02:59 UTC) #10
yzshen1
lgtm
4 years, 1 month ago (2016-11-21 17:37:57 UTC) #15
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/2514093002/60001
4 years, 1 month ago (2016-11-21 17:54:16 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/339973)
4 years, 1 month ago (2016-11-21 18:44:34 UTC) #24
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/2514093002/60001
4 years, 1 month ago (2016-11-21 18:45:50 UTC) #26
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/2514093002/160001
4 years, 1 month ago (2016-11-22 00:24:47 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/168589)
4 years, 1 month ago (2016-11-22 00:33:29 UTC) #51
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/2514093002/200001
4 years, 1 month ago (2016-11-22 01:02:10 UTC) #60
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/342236)
4 years, 1 month ago (2016-11-22 01:20:29 UTC) #62
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/2514093002/200001
4 years, 1 month ago (2016-11-22 01:36:59 UTC) #64
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/265277)
4 years, 1 month ago (2016-11-22 02:03:21 UTC) #66
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/2514093002/220001
4 years, 1 month ago (2016-11-22 04:56:43 UTC) #72
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 1 month ago (2016-11-22 05:27:54 UTC) #74
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 05:29:50 UTC) #76
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/cf1d7d0b6ef21635ebaaa217389f108a3d6db6e8
Cr-Commit-Position: refs/heads/master@{#433795}

Powered by Google App Engine
This is Rietveld 408576698