Platform::interfaceProvider() is simply a variant of Platform::connector() that is hardcoded to connect to the content_browser service (i.e., content::mojom::kBrowserServiceName). For clarity, we should replace all calls to Platform::interfaceProvider() with the corresponding calls to Platform::connector() and then remove Platform::interfaceProvider().
Note that there is one interesting subtlety here: The object returned by Platform::interfaceProvider() bounces calls to the main thread, wheres the object returned by Platform::connector() does not. We'll have to see if this causes problems as we do the conversions, and if it does, we'll have to extend Blink's mechanism for connecting to services to support these use cases.
Comment 1 by sheriffbot@chromium.org
, Mar 28 2018Status: Untriaged (was: Available)