Change kUpdateThumbnailTime to be a TimeDelta.
Fixes a future warning with -Wshorten-64-to-32.
../../components/history/core/common/thumbnail_score_unittest.cc(86,33):  warning: implicit conversion loses integer precision: 'const int64_t' (aka 'const long long') to 'int' [-Wshorten-64-to-32]
      base::TimeDelta::FromDays(ThumbnailScore::kUpdateThumbnailTimeDays);
      ~~~~                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Also, remove an unused definition and some minor cleanup.
BUG=588506
Change-Id: I447c758454d0868cf1d023772c05464bc6e40262
Reviewed-on: https://chromium-review.googlesource.com/1195656Reviewed-by: 
Scott Violet <sky@chromium.org>
Commit-Queue: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587350}
Showing
Please register or sign in to comment