Early calls to CrOSComponentManager::Load could force foreground update check |
||
Issue descriptionIf CrOSComponentManager::Load is called early on in the browser process lifetime (i.e. before all Register tasks started by InstallRegistered() are done), it might cause foreground component update check even if the target component is already registered. The method initiates update check if there are no compatible paths registered at the time it's called. Though, compatible paths are registered asynchronously by call to InstallRegistered, and there is no guarantee that this operation has finished by the time a call to CrOSComponentManager is made. (we plan to attempt to load demo-mode-resources component (not yet added to cros_component_installer) fairly early, so we might hit this issue; for demo-mode-resources we might want to avoid update all-together, and load a preinstalled version if no installed component is found, but even if update step is skipped in that case, Load might incorrectly report that the component was not installed).
,
Aug 10
(Sorry for the late response.) Thanks for fixing this!
,
Aug 14
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Aug 10