Fix crash caused by installation times
When the installation times are reported, it may be possible that we do not come across the previous stage and thus it would access the optional field to report the installation time which would then lead to a crash. It is safer to report the time when we are sure that the initial stage and the next stage are reported. For eg, it is possible to report the kComplete installation stage even when the extension fails to install. Bug: 1119352 Change-Id: I20a5ee31451106832f8f0791f95b78efb8b3d66b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2362803Reviewed-by:Oleg Davydov <burunduk@chromium.org> Reviewed-by:
Saurabh Nijhara <snijhara@google.com> Commit-Queue: Swapnil Gupta <swapnilgupta@google.com> Cr-Commit-Position: refs/heads/master@{#800063}
Showing
Please register or sign in to comment