Added presubmit script that checks for clock usage in Autofill.
Autofill uses AutofillClock and AutofillTickClock to allow for manipulating the clock for testing purposes. This presubmit script warns about usage of base::Time::Now() and base::TimeTicks::Now(). Bug: 1009364 Change-Id: I314303fde19edfc623cba96a01ed3a5e00c6815e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2007048Reviewed-by:Dominic Battré <battre@chromium.org> Commit-Queue: Christoph Schwering <schwering@google.com> Cr-Commit-Position: refs/heads/master@{#732756}
Showing
Please register or sign in to comment