DescriptionClean up public interface of AttachmentBrokerUnprivileged.
In the old interface, a static factory method returns a scoped_ptr, and the
caller had to manage the lifetime. Since this is a global object with minimal
memory footprint, and is required to outlive every IPC::Channel, it's much
easier for the global to never be destroyed. This also matches the interface for
AttachmentBrokerPrivileged.
BUG=584297
Committed: https://crrev.com/11fea2242b3a197993dbd5a1f977f9a31c6b98e4
Cr-Commit-Position: refs/heads/master@{#375674}
Committed: https://crrev.com/8666287a9b42256b20692765f43c12a960398699
Cr-Commit-Position: refs/heads/master@{#375776}
Patch Set 1 #Patch Set 2 : Compile error. #
Total comments: 6
Patch Set 3 : Comments from tsepez. #
Total comments: 4
Patch Set 4 : Comments from sergeyu. #Patch Set 5 : Fix bug in remoting_me2me_host. Don't leave dangling pointers. #Patch Set 6 : Rebase. Also fix compile errors in unit tests. #Patch Set 7 : Remove CHECK. #
Messages
Total messages: 56 (26 generated)
|