Small no-op refactor in HttpCache::Transaction.
Extract the checks that need not be run on each iteration of the loop. Given the constant size of kValidationHeaders, this does not meaningfully improve complexity, only readability (hopefully). Change-Id: Ic14796c1a76426f0bbb3f40247744ba5b98318f0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386739 Commit-Queue: Titouan Rigoudy <titouan@chromium.org> Reviewed-by:Maksim Orlovich <morlovich@chromium.org> Cr-Commit-Position: refs/heads/master@{#803862}
Showing
Please register or sign in to comment