Reland "[service-manager] Simplify connection logic"
This is a reland of 18526eed Diff PS3->PS4 is fix for breakage. Original change's description: > [service-manager] Simplify connection logic > > This reduces the complexity of Service Manager's logic for handling > interconnection between service instances. Much of the complexity was > due to connection operations once upon a time being highly > asynchronous within SM, but that hasn't been the case for a while. > > Rather than having ServiceManager::Connect do way too much stuff, it's > replaced with a simpler and more straightforward > FindOrCreateMatchingTargetInstance, which does only what the name says. > Previous work done by Connect() in various edge cases has been moved out > to its prior call sites, now replaced with calls to FOCMTI. > > Bug: 904240 > Change-Id: Ia276f6fa61477ddc141724d30484237498eef070 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1593722 > Reviewed-by: Oksana Zhuravlova <oksamyt@chromium.org> > Commit-Queue: Ken Rockot <rockot@google.com> > Cr-Commit-Position: refs/heads/master@{#657401} Bug: 904240 Change-Id: If07ff20dd8886901013f214f8b51a9e447224189 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1600453Reviewed-by:Oksana Zhuravlova <oksamyt@chromium.org> Commit-Queue: Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#657746}
Showing
This diff is collapsed.
Please register or sign in to comment