Get rid of ForTesting() from EmbeddedSearchClientFactoryImpl
This CL gets rid of BindNewEndpointAndPassDedicatedReceiverForTesting() from EmbeddedSearchClientFactoryImpl which was added by [1] to replace MakeRequestAssociatedWithDedicatedPipe() with new Mojo types. It uses reset() instead of using DedicatedReceiver before connecting and checks if AssociatedRemote is bound whenever it's accessed to call interfaces. [1] https://crrev.com/1897399 Bug: 955171 Change-Id: Ia2bf4a33d6a8d4a871ce037b96b72d03bf97f2e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1912789 Commit-Queue: Julie Kim <jkim@igalia.com> Reviewed-by:Ken Rockot <rockot@google.com> Reviewed-by:
Dan Beam <dbeam@chromium.org> Cr-Commit-Position: refs/heads/master@{#715621}
Showing
Please register or sign in to comment