Separate ServiceController Initialize() and Start()
A lot of things are configured between the creation of the |AssistantManager| and the call of |AssistantManager::Start()|. Right now this is done through an initialize callback (which circumvents the Mojom API). To get rid of this initialize callback (and configure things properly through Mojom APIs), we need to separate the creation and start of |AssistantManager| in 2 separate mojom calls. This CL also renames all |ServiceController| tests to |AssistantServiceControllerTest| so we can run all assistant tests using the "Assistant*" test filter. Bug: b/176851446 Test: chromeos_unittests --gtest_filter="Assistant*" Change-Id: I37c11439446f52fcc209d0612fd73cf8b0478de0 Cq-Include-Trybots: luci.chrome.try:linux-chromeos-chrome Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2617119Reviewed-by:Sam McNally <sammc@chromium.org> Reviewed-by:
Xiaohui Chen <xiaohuic@chromium.org> Commit-Queue: Jeroen Dhollander <jeroendh@chromium.org> Cr-Commit-Position: refs/heads/master@{#842124}
Showing
This diff is collapsed.
Please register or sign in to comment