Fix LacrosChrome init data passing.
chromeos::ReadStartupData() can be called in the process at most once, and later calls will fail. That caused initialization error. This CL fixes it by removing the call from PolicyLoaderLacros. Instead, LacrosChromeServiceImpl is instantiated at earlier timing (the same timing as D-Bus for ash-chrome), so it should be available on PolicyLoaderLacros use. Bug: None Test: Ran locally on DUT. Made sure no error logs. Change-Id: I606348c2b1db72d237d05d5a485dfa4f0ae4492b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2626670 Auto-Submit: Hidehiko Abe <hidehiko@chromium.org> Commit-Queue: Ken Rockot <rockot@google.com> Reviewed-by:Ken Rockot <rockot@google.com> Reviewed-by:
Maksim Ivanov <emaxx@chromium.org> Reviewed-by:
Igor <igorcov@chromium.org> Cr-Commit-Position: refs/heads/master@{#843222}
Showing
Please register or sign in to comment