DescriptionAdd heuristics to skip thumbnail generation when it's unnecessary.
More specifically, skip thumbnail generation in the following occasions:
- The browser is in the off-the-record mode.
- The URL is not valid for top sites (ex. new tab pages, etc.)
- The existing thumbnail is new and interesting enough.
This patch should reduce the number of thumbnail generations significantly.
BUG=65936
TEST=add unit tests. confirm that the thumbnails are updated as expected.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72763
Patch Set 1 #Patch Set 2 : Add tests #Patch Set 3 : minor cleanup #
Total comments: 8
Patch Set 4 : address comments #Patch Set 5 : fix debug unit tests #
Total comments: 3
Patch Set 6 : add comments #
Messages
Total messages: 8 (0 generated)
|