Descriptionipc: Move AttachmentBrokerPrivileged singleton logic into ipc/.
Previously, the logic was only used by ChildProcessHostImpl, so it lived there.
The logic actually needs to be invoked by both ChildProcessHostImpl, and
RenderProcessHostImpl, so I moved the logic into ipc/.
On Mac, the PortProvider needs to be passed to the AttachmentBrokerPrivileged
once, so I added a parameter to the constructor to do just that.
BUG=535711
Committed: https://crrev.com/d8a3d902c0914bb6a903348578ee7eaca90006d4
Cr-Commit-Position: refs/heads/master@{#355625}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Comments from tsepez. #Patch Set 3 : Refactoring - not yet ready for review. #Patch Set 4 : Minor formatting. #
Messages
Total messages: 12 (2 generated)
|