Use base::TimeTicks instead of doubles in FileWriter to record timestamps
file_writer.cc was using doubles to record timestamps that were used later on to fire notifications after a given interval. Not only that, it was calling base::Time when it should probably use base::TimeTicks as we are not interested in dates but timestamps. That's why we're using now base::TimeTicks and base::TimeDelta avoiding the unneeded conversions to doubles. Bug: 979137 Change-Id: Id40fa2b6fe993aa253a9621b031950fa3765f2ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1706519Reviewed-by:Jeremy Roman <jbroman@chromium.org> Commit-Queue: Sergio Villar <svillar@igalia.com> Cr-Commit-Position: refs/heads/master@{#678337}
Showing
Please register or sign in to comment