Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Issue 877513003: Do not enqueue a prefetch task when it prefetched to the end of list. (Closed)

Created:
5 years, 10 months ago by yawano
Modified:
5 years, 10 months ago
Reviewers:
hirono
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not enqueue a prefetch task when it prefetched to the end of list. Previously, ListThumbnailLoader preloaded images at the top of list when it preloaded to the end of list. However, especially high priority range is at the end of list, the benefit of preloading top images is small. BUG=438050 TEST=out/Release/browser_tests --gtest_filter=FileManagerJsTest.ListThumbnailLoader Committed: https://crrev.com/c3912dc65dd774328124e04a8023d3b5dbe27b07 Cr-Commit-Position: refs/heads/master@{#314538}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix test case. #

Patch Set 3 : Fix test case. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -31 lines) Patch
M ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js View 1 5 chunks +5 lines, -8 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/list_thumbnail_loader_unittest.html View 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/list_thumbnail_loader_unittest.js View 1 2 4 chunks +47 lines, -23 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
yawano
PTAL. Thank you!
5 years, 10 months ago (2015-02-04 08:52:13 UTC) #2
hirono
https://codereview.chromium.org/877513003/diff/1/ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js File ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js (right): https://codereview.chromium.org/877513003/diff/1/ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js#newcode146 ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js:146: * @return {!Object} If the thumbnail is not in ...
5 years, 10 months ago (2015-02-04 09:31:15 UTC) #3
yawano
Thank you for the review! PTAL. https://codereview.chromium.org/877513003/diff/1/ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js File ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js (right): https://codereview.chromium.org/877513003/diff/1/ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js#newcode146 ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js:146: * @return {!Object} ...
5 years, 10 months ago (2015-02-04 10:26:57 UTC) #4
hirono
lgtm, thanks!
5 years, 10 months ago (2015-02-04 10:32:58 UTC) #5
yawano
On 2015/02/04 10:32:58, hirono wrote: > lgtm, thanks! Thank you!
5 years, 10 months ago (2015-02-04 10:37:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877513003/40001
5 years, 10 months ago (2015-02-04 10:39:00 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-04 11:15:21 UTC) #10
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 11:16:07 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c3912dc65dd774328124e04a8023d3b5dbe27b07
Cr-Commit-Position: refs/heads/master@{#314538}

Powered by Google App Engine
This is Rietveld 408576698