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

Issue 831833004: Files.app: Stop to use drive thumbnail for cached files. (Closed)

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

Description

Files.app: Stop to use drive thumbnail for cached files. Previously ThumbnailLoader refers both metadata.thumbnail.url and meatadata.external.thumbnailUrl. Thus it loads external thumbnail even if the file is cached locally. The CL fixes the logic and stop to use drive thumbnail for image files that are cached. Note that if the file is not an image, use drive thumbnail always because Files.app does not have logic to generate thumbnail from non-image files. BUG=446827 TEST=Added Committed: https://crrev.com/d102ac3f7aa2d7759f1226ef65744d589bf4f676 Cr-Commit-Position: refs/heads/master@{#310729}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : Fix. #

Messages

Total messages: 18 (2 generated)
hirono
@mtomasz - PTAL the CL? @fukino, @yawano - I added you to CC. If you ...
5 years, 11 months ago (2015-01-08 10:59:15 UTC) #2
yawano
On 2015/01/08 10:59:15, hirono wrote: > @mtomasz - PTAL the CL? > @fukino, @yawano - ...
5 years, 11 months ago (2015-01-09 00:50:53 UTC) #3
mtomasz
lgtm with one question. Doesn't it affect performance? If jpeg files do not have thumbnails, ...
5 years, 11 months ago (2015-01-09 01:20:40 UTC) #4
hirono
On 2015/01/09 01:20:40, mtomasz wrote: > lgtm with one question. Doesn't it affect performance? If ...
5 years, 11 months ago (2015-01-09 01:38:22 UTC) #5
mtomasz
On 2015/01/09 01:38:22, hirono wrote: > On 2015/01/09 01:20:40, mtomasz wrote: > > lgtm with ...
5 years, 11 months ago (2015-01-09 02:07:16 UTC) #6
mtomasz
On 2015/01/09 02:07:16, mtomasz wrote: > On 2015/01/09 01:38:22, hirono wrote: > > On 2015/01/09 ...
5 years, 11 months ago (2015-01-09 02:07:25 UTC) #7
mtomasz
On 2015/01/09 02:07:25, mtomasz wrote: > On 2015/01/09 02:07:16, mtomasz wrote: > > On 2015/01/09 ...
5 years, 11 months ago (2015-01-09 02:09:30 UTC) #8
fukino
On 2015/01/09 02:07:16, mtomasz wrote: > On 2015/01/09 01:38:22, hirono wrote: > > On 2015/01/09 ...
5 years, 11 months ago (2015-01-09 02:27:55 UTC) #9
hirono
On 2015/01/09 02:27:55, fukino wrote: > On 2015/01/09 02:07:16, mtomasz wrote: > > On 2015/01/09 ...
5 years, 11 months ago (2015-01-09 02:30:06 UTC) #10
mtomasz
On 2015/01/09 02:30:06, hirono wrote: > On 2015/01/09 02:27:55, fukino wrote: > > On 2015/01/09 ...
5 years, 11 months ago (2015-01-09 02:32:27 UTC) #11
hirono
@mtomasz - I removed USE_EMBEDDED enum and introduced new type to show exact load target. ...
5 years, 11 months ago (2015-01-09 05:50:49 UTC) #12
mtomasz
Nice cleanup! LGTM with nits. https://codereview.chromium.org/831833004/diff/40001/ui/file_manager/file_manager/foreground/js/ui/file_grid.js File ui/file_manager/file_manager/foreground/js/ui/file_grid.js (right): https://codereview.chromium.org/831833004/diff/40001/ui/file_manager/file_manager/foreground/js/ui/file_grid.js#newcode243 ui/file_manager/file_manager/foreground/js/ui/file_grid.js:243: // Drive provides high ...
5 years, 11 months ago (2015-01-09 05:58:50 UTC) #13
hirono
Thanks! https://codereview.chromium.org/831833004/diff/40001/ui/file_manager/file_manager/foreground/js/ui/file_grid.js File ui/file_manager/file_manager/foreground/js/ui/file_grid.js (right): https://codereview.chromium.org/831833004/diff/40001/ui/file_manager/file_manager/foreground/js/ui/file_grid.js#newcode243 ui/file_manager/file_manager/foreground/js/ui/file_grid.js:243: // Drive provides high quality thumbnails via USE_EMBEDDED, ...
5 years, 11 months ago (2015-01-09 07:11:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/831833004/60001
5 years, 11 months ago (2015-01-09 07:12:14 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 11 months ago (2015-01-09 07:51:23 UTC) #17
commit-bot: I haz the power
5 years, 11 months ago (2015-01-09 07:52:04 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d102ac3f7aa2d7759f1226ef65744d589bf4f676
Cr-Commit-Position: refs/heads/master@{#310729}

Powered by Google App Engine
This is Rietveld 408576698