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

Issue 2185723002: Eliminate deferred destruction of AssociatedGroupController (Closed)

Created:
4 years, 4 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 4 months ago
Reviewers:
yzshen1
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Eliminate deferred destruction of AssociatedGroupController Moves AssociatedGroupController from base::RefCountedDeleteOnMessageLoop to a simple base::RefCountedThreadSafe. Updates MultiplexRouter and ChannelAssociatedGroupController expectations accordingly. BUG=631491 R=yzshen@chromium.org Committed: https://crrev.com/b01ef6ae6f781753a82e0d2857aaed43323bceae Cr-Commit-Position: refs/heads/master@{#408032}

Patch Set 1 #

Total comments: 4

Patch Set 2 : . #

Total comments: 1

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -34 lines) Patch
M ipc/ipc_mojo_bootstrap.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/associated_group_controller.h View 4 chunks +2 lines, -9 lines 0 comments Download
M mojo/public/cpp/bindings/connector.h View 1 chunk +10 lines, -7 lines 0 comments Download
M mojo/public/cpp/bindings/lib/associated_group_controller.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/lib/connector.cc View 1 2 4 chunks +15 lines, -9 lines 0 comments Download
M mojo/public/cpp/bindings/lib/multiplex_router.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/multiplex_router.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
Ken Rockot(use gerrit already)
Please take a look. I opted to introduce a separate lock and flag for Connector's ...
4 years, 4 months ago (2016-07-26 17:15:03 UTC) #3
yzshen1
https://codereview.chromium.org/2185723002/diff/1/mojo/public/cpp/bindings/lib/connector.cc File mojo/public/cpp/bindings/lib/connector.cc (right): https://codereview.chromium.org/2185723002/diff/1/mojo/public/cpp/bindings/lib/connector.cc#newcode88 mojo/public/cpp/bindings/lib/connector.cc:88: return std::move(message_pipe_); When the message pipe is transferred, we ...
4 years, 4 months ago (2016-07-26 21:21:16 UTC) #6
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2185723002/diff/1/mojo/public/cpp/bindings/lib/connector.cc File mojo/public/cpp/bindings/lib/connector.cc (right): https://codereview.chromium.org/2185723002/diff/1/mojo/public/cpp/bindings/lib/connector.cc#newcode88 mojo/public/cpp/bindings/lib/connector.cc:88: return std::move(message_pipe_); On 2016/07/26 at 21:21:15, yzshen1 wrote: > ...
4 years, 4 months ago (2016-07-26 22:07:00 UTC) #9
yzshen1
One more thing before LGTM https://codereview.chromium.org/2185723002/diff/20001/mojo/public/cpp/bindings/lib/connector.cc File mojo/public/cpp/bindings/lib/connector.cc (right): https://codereview.chromium.org/2185723002/diff/20001/mojo/public/cpp/bindings/lib/connector.cc#newcode88 mojo/public/cpp/bindings/lib/connector.cc:88: ScopedMessagePipeHandle message_pipe = std::move(message_pipe_); ...
4 years, 4 months ago (2016-07-26 22:11:30 UTC) #10
Ken Rockot(use gerrit already)
Oops. Haha, I should have actually compiled...
4 years, 4 months ago (2016-07-26 22:12:10 UTC) #11
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/2185723002/40001
4 years, 4 months ago (2016-07-27 03:20:32 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-27 03:25:25 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 03:27:24 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b01ef6ae6f781753a82e0d2857aaed43323bceae
Cr-Commit-Position: refs/heads/master@{#408032}

Powered by Google App Engine
This is Rietveld 408576698