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

Issue 2494943002: Remove IPC::BrokerableAttachment. (Closed)

Created:
4 years, 1 month ago by Sam McNally
Modified:
4 years, 1 month ago
CC:
Aaron Boodman, abarth-chromium, chrome-apps-syd-reviews_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, mac-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, erikchen
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove IPC::BrokerableAttachment. With only ChannelMojo in use, the distinction between brokerable and non-brokerable attachments no longer makes sense. This CL removes that distinction by removing BrokerableAttachment and flattening the hierarchy of attachment types. This also trims some POSIX-specific parts of IPC::MessageAttachmentSet. BUG=659448 Committed: https://crrev.com/f6e03ce56c4d2370b79d0c3dd4ceb89cf5528e56 Committed: https://crrev.com/6ed3efbc2e55eb7aaae5520b9a7bceeacd3faa0d Cr-Original-Commit-Position: refs/heads/master@{#432153} Cr-Commit-Position: refs/heads/master@{#434099}

Patch Set 1 : #

Patch Set 2 : rebase #

Patch Set 3 : extra test output #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -569 lines) Patch
M base/pickle.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/nacl/loader/nacl_ipc_adapter.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ipc/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D ipc/brokerable_attachment.h View 1 chunk +0 lines, -54 lines 0 comments Download
D ipc/brokerable_attachment.cc View 1 chunk +0 lines, -34 lines 0 comments Download
M ipc/handle_attachment_win.h View 2 chunks +3 lines, -42 lines 0 comments Download
M ipc/handle_attachment_win.cc View 1 chunk +2 lines, -13 lines 0 comments Download
M ipc/handle_win.cc View 1 chunk +2 lines, -8 lines 0 comments Download
M ipc/ipc_channel_mojo.cc View 1 4 chunks +6 lines, -21 lines 0 comments Download
M ipc/ipc_channel_mojo_unittest.cc View 1 chunk +6 lines, -5 lines 0 comments Download
M ipc/ipc_channel_nacl.h View 1 2 chunks +3 lines, -6 lines 0 comments Download
M ipc/ipc_channel_nacl.cc View 1 4 chunks +25 lines, -16 lines 0 comments Download
M ipc/ipc_channel_reader.h View 2 chunks +2 lines, -3 lines 0 comments Download
M ipc/ipc_channel_reader.cc View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_channel_reader_unittest.cc View 2 chunks +1 line, -2 lines 0 comments Download
M ipc/ipc_message.h View 2 chunks +0 lines, -5 lines 0 comments Download
M ipc/ipc_message.cc View 4 chunks +2 lines, -21 lines 0 comments Download
M ipc/ipc_message_attachment.h View 2 chunks +2 lines, -9 lines 0 comments Download
M ipc/ipc_message_attachment_set.h View 4 chunks +15 lines, -77 lines 0 comments Download
M ipc/ipc_message_attachment_set.cc View 7 chunks +17 lines, -114 lines 0 comments Download
M ipc/ipc_message_attachment_set_posix_unittest.cc View 5 chunks +20 lines, -60 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M ipc/ipc_message_utils.cc View 1 1 chunk +7 lines, -1 line 0 comments Download
M ipc/ipc_mojo_handle_attachment.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ipc/ipc_mojo_handle_attachment.cc View 1 chunk +1 line, -8 lines 0 comments Download
M ipc/ipc_mojo_message_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_platform_file_attachment_posix.h View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_platform_file_attachment_posix.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ipc/ipc_send_fds_test.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ipc/mach_port_attachment_mac.h View 2 chunks +3 lines, -31 lines 0 comments Download
M ipc/mach_port_attachment_mac.cc View 2 chunks +2 lines, -12 lines 0 comments Download
M ipc/mach_port_mac.cc View 1 chunk +2 lines, -8 lines 0 comments Download
M ppapi/proxy/nacl_message_scanner.cc View 1 chunk +0 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 77 (61 generated)
Sam McNally
4 years, 1 month ago (2016-11-14 04:00:16 UTC) #31
Ken Rockot(use gerrit already)
lgtm
4 years, 1 month ago (2016-11-14 20:40:10 UTC) #34
Sam McNally
+dcheng for //base +mseaborn for //components/nacl +raymes for //ppapi
4 years, 1 month ago (2016-11-14 22:57:14 UTC) #36
Mark Seaborn
On 2016/11/14 22:57:14, Sam McNally wrote: > +mseaborn for //components/nacl LGTM for that.
4 years, 1 month ago (2016-11-14 23:44:42 UTC) #37
raymes
rs lgtm
4 years, 1 month ago (2016-11-14 23:45:33 UTC) #38
dcheng
base lgtm +erikchen FYI
4 years, 1 month ago (2016-11-15 04:47:29 UTC) #39
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/2494943002/120001
4 years, 1 month ago (2016-11-15 06:29:38 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/180502)
4 years, 1 month ago (2016-11-15 07:51:07 UTC) #43
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/2494943002/120001
4 years, 1 month ago (2016-11-15 09:05:08 UTC) #45
commit-bot: I haz the power
Committed patchset #1 (id:120001)
4 years, 1 month ago (2016-11-15 09:47:22 UTC) #46
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/f6e03ce56c4d2370b79d0c3dd4ceb89cf5528e56 Cr-Commit-Position: refs/heads/master@{#432153}
4 years, 1 month ago (2016-11-15 09:49:07 UTC) #48
erikchen
awesome, thanks!
4 years, 1 month ago (2016-11-15 18:08:04 UTC) #50
horo
A revert of this CL (patchset #1 id:120001) has been created in https://codereview.chromium.org/2504063002/ by horo@chromium.org. ...
4 years, 1 month ago (2016-11-16 01:44:32 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/2494943002/230001
4 years, 1 month ago (2016-11-23 01:38:36 UTC) #72
commit-bot: I haz the power
Committed patchset #3 (id:230001)
4 years, 1 month ago (2016-11-23 03:18:14 UTC) #75
commit-bot: I haz the power
4 years, 1 month ago (2016-11-23 03:21:23 UTC) #77
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6ed3efbc2e55eb7aaae5520b9a7bceeacd3faa0d
Cr-Commit-Position: refs/heads/master@{#434099}

Powered by Google App Engine
This is Rietveld 408576698