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

Issue 310433004: Gallery.app: Update thumbnail when a file is edited on the photo editor. (Closed)

Created:
6 years, 6 months ago by hirono
Modified:
6 years, 6 months ago
Reviewers:
mtomasz
CC:
chromium-reviews, feature-media-reviews_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yoshiki+watch_chromium.org
Visibility:
Public.

Description

Gallery.app: Update thumbnail when a file is edited on the photo editor. This CL do followings to ensure to update thumbnails after the app saves images. * Add '?nocache=xxx' to FileEntry's URL to ignore browser caches. * Stop to use drive thumbnails for files that are on the drive but cached locally. These files may be edited locally and be out of sync with the local cache. * Specify the current time as modificationTime of the metadata that is dispatched when the edited file is saved. BUG=378648 TEST=manually Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274506

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixed. #

Patch Set 3 : Fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -15 lines) Patch
M ui/file_manager/file_manager/foreground/js/media/media_util.js View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M ui/file_manager/gallery/js/image_editor/image_util.js View 1 2 1 chunk +3 lines, -8 lines 0 comments Download
M ui/file_manager/gallery/js/image_editor/image_view.js View 1 chunk +15 lines, -4 lines 0 comments Download
M ui/file_manager/gallery/js/ribbon.js View 1 chunk +7 lines, -1 line 0 comments Download
M ui/file_manager/gallery/js/slide_mode.js View 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/file_manager/image_loader/request.js View 1 2 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
hirono
PTAL the CL? Thank you!
6 years, 6 months ago (2014-05-30 12:20:39 UTC) #1
mtomasz
https://codereview.chromium.org/310433004/diff/1/ui/file_manager/file_manager/foreground/js/media/media_util.js File ui/file_manager/file_manager/foreground/js/media/media_util.js (right): https://codereview.chromium.org/310433004/diff/1/ui/file_manager/file_manager/foreground/js/media/media_util.js#newcode194 ui/file_manager/file_manager/foreground/js/media/media_util.js:194: // need to force to update of the file. ...
6 years, 6 months ago (2014-06-02 06:40:28 UTC) #2
hirono
Thank you! https://codereview.chromium.org/310433004/diff/1/ui/file_manager/file_manager/foreground/js/media/media_util.js File ui/file_manager/file_manager/foreground/js/media/media_util.js (right): https://codereview.chromium.org/310433004/diff/1/ui/file_manager/file_manager/foreground/js/media/media_util.js#newcode194 ui/file_manager/file_manager/foreground/js/media/media_util.js:194: // need to force to update of ...
6 years, 6 months ago (2014-06-02 08:59:15 UTC) #3
mtomasz
According to crbug.com/346625, Drive last modification time should be already fixed on ToT. Please check, ...
6 years, 6 months ago (2014-06-03 05:33:19 UTC) #4
hirono
The metadata on the drive is fixed. It works fine without workaround. Thank you! https://codereview.chromium.org/310433004/diff/1/ui/file_manager/gallery/js/image_editor/image_util.js ...
6 years, 6 months ago (2014-06-03 07:51:45 UTC) #5
mtomasz
Thanks! LGTM.
6 years, 6 months ago (2014-06-03 07:52:27 UTC) #6
hirono
The CQ bit was checked by hirono@chromium.org
6 years, 6 months ago (2014-06-03 07:52:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hirono@chromium.org/310433004/60001
6 years, 6 months ago (2014-06-03 07:54:14 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-03 13:27:10 UTC) #9
Message was sent while issue was closed.
Change committed as 274506

Powered by Google App Engine
This is Rietveld 408576698