Migrate ContextualSearchJsApiService to BrowserInterfaceBroker
This CL migrates the mojo client in the renderer side of the contextual_search component to the new BrowserInterfaceBroker, and adapts the code in the browser process to register the binder from PopulateChromeFrameBinders(), instead of doing it inside of ContextualSearchObserver. Last, this CL also extracts the ContextualSearchObserver class out of contextual_search_manager.cc, so that the receiver can be bound now via the BinderMap owned by the BrowserInterfaceBroker. Bug: 936482,1006361 Change-Id: I95c8046650883c872750dd7408a38e7433ed9df3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1906667Reviewed-by:Donn Denman <donnd@chromium.org> Reviewed-by:
Dominick Ng <dominickn@chromium.org> Reviewed-by:
Oksana Zhuravlova <oksamyt@chromium.org> Commit-Queue: Mario Sanchez Prada <mario@igalia.com> Cr-Commit-Position: refs/heads/master@{#721405}
Showing
Please register or sign in to comment