Revert "[service-manager] Introduce ServiceBinding"
This reverts commit cf9baf41. Reason for revert: Seemed to cause test failures on Fuchsia https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Fuchsia%20x64/20283 Original change's description: > [service-manager] Introduce ServiceBinding > > Adds a new ServiceBinding helper to the Service Manager's client > library. This is intended as a replacement for ServiceContext, because > ServiceContext is cumbersome in its insistence to own the > corresponding Service object. > > ServiceBinding, like ServiceContext, deals with the IPC interface > between a local Service instance and the Service Manager, exposing > interesting events to the Service implementation while also providing > it access to its Connector and assigned Identity. > > Some particularly gnarly tests have been updated to use ServiceBinding > in lieu of ServiceContext. Furthermore, without ServiceContext and with > a lot of its legacy motivations gone, ServiceRunner isn't terribly > useful either. The tests have also been trivially updated to manage > their own MessageLoop instead of using ServiceRunner. > > This is the first in a series of patches which aim to completely > eliminate ServiceContext, ForwardingService (in service.h), and > ServiceRunner, requiring Service implementations to write a little more > boilerplate in exchange for flexibility with ownership semantics. > > Bug: 891780 > Change-Id: Ib0c1d3263f34a5e33a167a8187edad1d52413f73 > Reviewed-on: https://chromium-review.googlesource.com/c/1259485 > Reviewed-by: Reilly Grant <reillyg@chromium.org> > Commit-Queue: Ken Rockot <rockot@chromium.org> > Cr-Commit-Position: refs/heads/master@{#597324} TBR=rockot@chromium.org,reillyg@chromium.org Change-Id: Ib638e97e13b4d0ab24b0123323ff9941da6eb1fc No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 891780 Reviewed-on: https://chromium-review.googlesource.com/c/1266135Reviewed-by:Marijn Kruisselbrink <mek@chromium.org> Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/master@{#597362}
Showing
Please register or sign in to comment