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

Issue 472603002: Mojo: Add the ability to notify a Mojo Channel that it's going to be destroyed soon. (Closed)

Created:
6 years, 4 months ago by viettrungluu
Modified:
6 years, 4 months ago
Reviewers:
yzshen1, sky
CC:
chromium-reviews, creis+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, nasko+codewatch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, darin (slow to review), ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

Mojo: Add the ability to notify a Mojo Channel that it's going to be destroyed soon. * The actual destruction will typically happen on a different thread. * We'd like to suppress warnings about the OS "pipe" being broken (which it often will, because we kill processes rather than shut them down). * We'd like to know if we're still sending stuff on the channel even though it's about to go away. R=yzshen@chromium.org, sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289531

Patch Set 1 #

Total comments: 1

Patch Set 2 : comment fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -31 lines) Patch
M content/browser/mojo/mojo_application_host.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/mojo/mojo_application_host.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M mojo/embedder/channel_init.h View 1 2 chunks +9 lines, -4 lines 0 comments Download
M mojo/embedder/channel_init.cc View 2 chunks +13 lines, -13 lines 0 comments Download
M mojo/embedder/embedder.h View 1 chunk +5 lines, -0 lines 0 comments Download
M mojo/embedder/embedder.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M mojo/system/channel.h View 3 chunks +8 lines, -2 lines 0 comments Download
M mojo/system/channel.cc View 11 chunks +28 lines, -10 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
viettrungluu
yzshen -> mojo/... sky -> content/browser/...
6 years, 4 months ago (2014-08-13 19:24:30 UTC) #1
yzshen1
LGTM with one nit https://codereview.chromium.org/472603002/diff/1/mojo/embedder/channel_init.h File mojo/embedder/channel_init.h (right): https://codereview.chromium.org/472603002/diff/1/mojo/embedder/channel_init.h#newcode43 mojo/embedder/channel_init.h:43: // Invoked on the main ...
6 years, 4 months ago (2014-08-13 19:44:10 UTC) #2
viettrungluu
Thanks. On 2014/08/13 19:44:10, yzshen1 wrote: > LGTM with one nit > > https://codereview.chromium.org/472603002/diff/1/mojo/embedder/channel_init.h > ...
6 years, 4 months ago (2014-08-13 19:51:24 UTC) #3
sky
This seems dubious and error prone, but ok. LGTM
6 years, 4 months ago (2014-08-13 20:06:30 UTC) #4
viettrungluu
The CQ bit was checked by viettrungluu@chromium.org
6 years, 4 months ago (2014-08-14 04:09:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/viettrungluu@chromium.org/472603002/20001
6 years, 4 months ago (2014-08-14 04:14:07 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-14 10:19:16 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 12:13:27 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (20001) as 289531

Powered by Google App Engine
This is Rietveld 408576698