https://codereview.chromium.org/2643063002/ exposes service_manager::Connector indirectly to Blink via a blink::Connector interface. We are considering whether and how to thoughtfully and case-by-case relax the restriction that Blink cannot directly use services' client libraries. service_manager::Connector is a good guinea pig here because:
(1) Allowing direct usage would eliminate the current indirection through //content/renderer, thus facilitating the long-term goal of eliminating //content/renderer
(2) As a piece of crucial low-level ServiceManager infrastructure, it logically feels like this interface *should* be broadly usable.
Things to consider in designing this effort are:
(1) How to abstract the current tying to and exposure of Chromium mojom variants of service_manager::Connector and friends
(2) How to structure client libraries to delineate files intended for sharing with Blink from those targeted to Chromium
(3) What the restrictions on files intended for sharing with Blink should be (e.g., should they not use the STL in their interfaces, etc)
Comment 1 by bugdroid1@chromium.org
, Mar 28 2017