Add FilePath canonicalization logic to ComputedHashes.
Move ComputedHashes's underlying data into its own class ComputedHashes::Data, that wraps the canonicalization logic in it. Adding items to Data would canonicalize paths, obviating the need for a) the linear search in case-insensitive OS. b) additional dot-space trimming treatment on windows. Bug: 796395 Change-Id: I1517f6daa8253562b731cf62a5c54fb95f2bd10e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2003261 Commit-Queue: Istiaque Ahmed <lazyboy@chromium.org> Reviewed-by:Oleg Davydov <burunduk@chromium.org> Cr-Commit-Position: refs/heads/master@{#733821}
Showing
Please register or sign in to comment