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

Issue 2949513006: Show number of remaining files when copying directories. (Closed)

Created:
3 years, 6 months ago by tetsui
Modified:
3 years, 5 months ago
Reviewers:
fukino
CC:
chromium-reviews, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yamaguchi+watch_chromium.org, fukino+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Show number of remaining files when copying directories. When copying directories with many files inside, the number of remaining files was shown based on the number of these directories, instead of actual number of files inside. BUG=491044 TEST=manual CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2949513006 Cr-Commit-Position: refs/heads/master@{#482217} Committed: https://chromium.googlesource.com/chromium/src/+/b5481973514988451d65106ffc315f89e70143c2

Patch Set 1 #

Total comments: 2

Patch Set 2 : Calculate numRemainingItems in a way similar to processedBytes. #

Total comments: 2

Patch Set 3 : Check before decrement numRemainingItems. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -2 lines) Patch
M ui/file_manager/file_manager/background/js/file_operation_util.js View 1 2 8 chunks +56 lines, -2 lines 0 comments Download

Messages

Total messages: 28 (19 generated)
tetsui
Please take a look. Thanks!
3 years, 5 months ago (2017-06-26 04:25:10 UTC) #9
fukino
https://codereview.chromium.org/2949513006/diff/1/ui/file_manager/file_manager/background/js/file_operation_util.js File ui/file_manager/file_manager/background/js/file_operation_util.js (right): https://codereview.chromium.org/2949513006/diff/1/ui/file_manager/file_manager/background/js/file_operation_util.js#newcode627 ui/file_manager/file_manager/background/js/file_operation_util.js:627: for (var key in resolvedEntryMap) { not lgtm, since ...
3 years, 5 months ago (2017-06-26 05:15:16 UTC) #10
tetsui
https://codereview.chromium.org/2949513006/diff/1/ui/file_manager/file_manager/background/js/file_operation_util.js File ui/file_manager/file_manager/background/js/file_operation_util.js (right): https://codereview.chromium.org/2949513006/diff/1/ui/file_manager/file_manager/background/js/file_operation_util.js#newcode627 ui/file_manager/file_manager/background/js/file_operation_util.js:627: for (var key in resolvedEntryMap) { On 2017/06/26 05:15:15, ...
3 years, 5 months ago (2017-06-26 06:51:20 UTC) #13
fukino
https://codereview.chromium.org/2949513006/diff/20001/ui/file_manager/file_manager/background/js/file_operation_util.js File ui/file_manager/file_manager/background/js/file_operation_util.js (right): https://codereview.chromium.org/2949513006/diff/20001/ui/file_manager/file_manager/background/js/file_operation_util.js#newcode838 ui/file_manager/file_manager/background/js/file_operation_util.js:838: this.numRemainingItems--; IIRC, progress callback can be called multiple times ...
3 years, 5 months ago (2017-06-26 07:34:09 UTC) #16
tetsui
https://codereview.chromium.org/2949513006/diff/20001/ui/file_manager/file_manager/background/js/file_operation_util.js File ui/file_manager/file_manager/background/js/file_operation_util.js (right): https://codereview.chromium.org/2949513006/diff/20001/ui/file_manager/file_manager/background/js/file_operation_util.js#newcode838 ui/file_manager/file_manager/background/js/file_operation_util.js:838: this.numRemainingItems--; On 2017/06/26 07:34:09, fukino wrote: > IIRC, progress ...
3 years, 5 months ago (2017-06-26 08:55:42 UTC) #19
fukino
lgtm
3 years, 5 months ago (2017-06-26 09:20:31 UTC) #20
tetsui
Thank you!
3 years, 5 months ago (2017-06-26 09:21:16 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2949513006/40001
3 years, 5 months ago (2017-06-26 09:25:14 UTC) #25
commit-bot: I haz the power
3 years, 5 months ago (2017-06-26 09:28:51 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/b5481973514988451d65106ffc31...

Powered by Google App Engine
This is Rietveld 408576698