commit | de2de961f2851a852febfb7223b0f27df5e6afb9 | [log] [tgz] |
---|---|---|
author | lhchavez <lhchavez@chromium.org> | Wed Jul 13 04:43:01 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jul 13 04:45:52 2016 |
tree | eb12d7a531b850cffde82a804435a319fdcb76fb | |
parent | d415aad374ad81906840afbf4c05f0594f1f581b [diff] |
arc: Revamp the ArcBridgeService interface Adding a new host/instance pair required a lot of boilerplate. It also made it very hard to properly do fakes for tests. This change adds two more interfaces: InterfaceHolder<T> and InterfaceObserver<T>, so that ArcBridgeService can stop having hundreds of methods to deal with instance lifecycles. BUG=626695 TEST=trybots Review-Url: https://codereview.chromium.org/2133503002 Cr-Commit-Position: refs/heads/master@{#405025}