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

Issue 1269553003: ipc: Clean up interface of attachment broker. (Closed)

Created:
5 years, 4 months ago by erikchen
Modified:
5 years, 4 months ago
Reviewers:
Tom Sepez
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ipc: Clean up interface of attachment broker. AttachmentBrokerUnprivileged now has a method DesignateBrokerCommunicationChannel which is used by non-broker processes to designate an IPC::Channel as the communication medium for brokerable attachment messages. IPC::Channel has a new member attachment_broker_endpoint_ which causes it to pass all messages through the attachment broker before forwarding them to the listener. BUG=493414 Committed: https://crrev.com/9a06836982214f2edced21bbd1615b49e7f231bf Cr-Commit-Position: refs/heads/master@{#341143}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Update BUILD.gn #

Total comments: 10

Patch Set 5 : Comments from tsepez #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -4 lines) Patch
M ipc/attachment_broker_privileged.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ipc/attachment_broker_privileged_win_unittest.cc View 2 chunks +4 lines, -1 line 0 comments Download
M ipc/attachment_broker_unprivileged.h View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M ipc/attachment_broker_unprivileged.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M ipc/ipc_channel.h View 1 2 3 4 2 chunks +12 lines, -0 lines 0 comments Download
M ipc/ipc_channel_nacl.h View 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_channel_nacl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ipc/ipc_channel_posix.h View 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_channel_posix.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ipc/ipc_channel_reader.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ipc/ipc_channel_reader.cc View 1 chunk +11 lines, -2 lines 0 comments Download
M ipc/ipc_channel_reader_unittest.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ipc/ipc_channel_win.h View 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_channel_win.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1269553003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1269553003/1
5 years, 4 months ago (2015-07-29 22:23:47 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/44315) linux_chromium_gn_rel on ...
5 years, 4 months ago (2015-07-29 22:42:22 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1269553003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1269553003/20001
5 years, 4 months ago (2015-07-29 23:18:49 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1269553003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1269553003/40001
5 years, 4 months ago (2015-07-29 23:22:31 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/115353)
5 years, 4 months ago (2015-07-29 23:51:27 UTC) #10
erikchen
tsepez: Please review. Patch set 3 passes the CQ (except for GN compile failures, which ...
5 years, 4 months ago (2015-07-30 00:18:43 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1269553003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1269553003/60001
5 years, 4 months ago (2015-07-30 00:19:22 UTC) #14
Tom Sepez
This seems reasonable. https://codereview.chromium.org/1269553003/diff/60001/ipc/BUILD.gn File ipc/BUILD.gn (right): https://codereview.chromium.org/1269553003/diff/60001/ipc/BUILD.gn#newcode89 ipc/BUILD.gn:89: "ipc_channel_posix.cc", Did you mean to do ...
5 years, 4 months ago (2015-07-30 00:35:47 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/22303)
5 years, 4 months ago (2015-07-30 00:48:05 UTC) #17
erikchen
tsepez: PTAL https://codereview.chromium.org/1269553003/diff/60001/ipc/BUILD.gn File ipc/BUILD.gn (right): https://codereview.chromium.org/1269553003/diff/60001/ipc/BUILD.gn#newcode89 ipc/BUILD.gn:89: "ipc_channel_posix.cc", On 2015/07/30 00:35:47, Tom Sepez wrote: ...
5 years, 4 months ago (2015-07-30 01:38:19 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1269553003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1269553003/80001
5 years, 4 months ago (2015-07-30 01:38:25 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/22332)
5 years, 4 months ago (2015-07-30 01:52:21 UTC) #22
Tom Sepez
lgtm
5 years, 4 months ago (2015-07-30 15:44:33 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1269553003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1269553003/80001
5 years, 4 months ago (2015-07-30 16:16:39 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 4 months ago (2015-07-30 17:19:44 UTC) #26
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/9a06836982214f2edced21bbd1615b49e7f231bf Cr-Commit-Position: refs/heads/master@{#341143}
5 years, 4 months ago (2015-07-30 17:20:17 UTC) #27
Avi (use Gerrit)
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1259953005/ by avi@chromium.org. ...
5 years, 4 months ago (2015-07-30 19:37:45 UTC) #28
erikchen
5 years, 4 months ago (2015-07-30 20:48:44 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/1264543003/ by erikchen@chromium.org.

The reason for reverting is: Causes errors on win7.

http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%28....

Powered by Google App Engine
This is Rietveld 408576698