
This function makes a basic call using the ML Service client library. Doing this triggers the ML Service daemon to be started (via D-Bus service activation) and the D-Bus -> Mojo IPC bootstrap to occur. The VoidCallback is invoked when the basic call (LoadModel on the test model) completes successfully. Tested: - Ran it with a Chrome OS Tast test (testing successful bootstrap) - Added a test to the test.js covering the case of failure to connect to ML Service Bug: 836102 Change-Id: I509eab4a518a933109095eec1ece811bc30e4f99 Reviewed-on: https://chromium-review.googlesource.com/1229878 Reviewed-by: Ben Wells <benwells@chromium.org> Reviewed-by: Achuith Bhandarkar <achuith@chromium.org> Reviewed-by: Joel Hockey <joelhockey@chromium.org> Commit-Queue: Andrew Moylan <amoylan@chromium.org> Cr-Commit-Position: refs/heads/master@{#593066}
This will become a reusable extensions module. It implements the core parts of Chrome's extension system, and can be used with any host of the content module.
Some extensions code that is not Chrome-specific still lives in //chrome/browser/extensions and will be moved here.
Technical Documentation: