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

Issue 1420763002: ipc: Move methods into AttachmentBroker interface. (Closed)

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

Description

ipc: Move methods into AttachmentBroker interface. Consumers of AttachmentBroker typically get an instance with AttachmentBroker::GetGlobal(). In order to use subclass methods, they had to downcast. Move those subclass methods into the AttachmentBroker interface removes the need to downcast. BUG=535711 Committed: https://crrev.com/7b9f8959f25f144f6cfac5eec98485604a158284 Cr-Commit-Position: refs/heads/master@{#355364}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comments from tsepez. #

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -24 lines) Patch
M ipc/attachment_broker.h View 1 4 chunks +36 lines, -0 lines 0 comments Download
M ipc/attachment_broker.cc View 2 chunks +13 lines, -0 lines 0 comments Download
M ipc/attachment_broker_mac_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ipc/attachment_broker_privileged.h View 1 chunk +3 lines, -6 lines 0 comments Download
M ipc/attachment_broker_privileged_mac.h View 2 chunks +0 lines, -6 lines 0 comments Download
M ipc/attachment_broker_privileged_mac.cc View 1 2 4 chunks +4 lines, -11 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
erikchen
tsepez: Please review.
5 years, 2 months ago (2015-10-21 17:48:56 UTC) #2
Tom Sepez
LGTM after fixing nits. https://codereview.chromium.org/1420763002/diff/1/ipc/attachment_broker.h File ipc/attachment_broker.h (right): https://codereview.chromium.org/1420763002/diff/1/ipc/attachment_broker.h#newcode101 ipc/attachment_broker.h:101: CHECK(!port_provider_); DCHECK(). Check in a ...
5 years, 2 months ago (2015-10-21 17:59:16 UTC) #3
erikchen
https://codereview.chromium.org/1420763002/diff/1/ipc/attachment_broker.h File ipc/attachment_broker.h (right): https://codereview.chromium.org/1420763002/diff/1/ipc/attachment_broker.h#newcode101 ipc/attachment_broker.h:101: CHECK(!port_provider_); On 2015/10/21 17:59:15, Tom Sepez wrote: > DCHECK(). ...
5 years, 2 months ago (2015-10-21 18:05:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420763002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420763002/20001
5 years, 2 months ago (2015-10-21 18:06:45 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/113025) mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-10-21 18:09:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420763002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420763002/40001
5 years, 2 months ago (2015-10-21 18:16:05 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420763002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420763002/40001
5 years, 2 months ago (2015-10-21 18:38:51 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-21 19:18:32 UTC) #16
commit-bot: I haz the power
5 years, 2 months ago (2015-10-21 19:19:11 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7b9f8959f25f144f6cfac5eec98485604a158284
Cr-Commit-Position: refs/heads/master@{#355364}

Powered by Google App Engine
This is Rietveld 408576698