metrics: base/hash/sha1 -> crypto/obsolete/sha1
LogInfo uses SHA-1 for hashing log data for unsent logs. This is used to
store a hash of the log SHA-1 to catch errors from memory corruption
within `unsent_log_store`. This gets written and restored from disk.
SHA-1 is also being used for setting the kStabilitySavedSystemProfile
hash within `environment_recorder.cc`.
Because these could affect retrieving prior user preference data and
metrics, this CL migrates to using the crypto/obsolete SHA-1 library.
Mechanical change, no expected behavior change.
Bug: 430344933
Change-Id: Icc224caf4af32162a416c0fb0f62e524b507dbf1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7159550
Reviewed-by: Giovanni Ortuno Urquidi <[email protected]>
Reviewed-by: Alexei Svitkine <[email protected]>
Commit-Queue: Antonio Alphonse <[email protected]>
Reviewed-by: David Benjamin <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1554241}
NOKEYCHECK=True
GitOrigin-RevId: fe056840db0f047b59790e1db2b6813fd5e036f0
4 files changed