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

Issue 2945793002: Discard getDirectorySize request until the last one finishes. (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

Discard getDirectorySize request until the last one finishes. fileManagerPrivate.getDirectorySize() was called excessively, because MetadataBoxController.setDirectorySize_ was called before the last callback had been finished. BUG=733143 TEST=manual CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2945793002 Cr-Commit-Position: refs/heads/master@{#482528} Committed: https://chromium.googlesource.com/chromium/src/+/ab62a8b172d7d04bf021d9f010c9a1c9fa92d66b

Patch Set 1 #

Patch Set 2 : Improve comment. #

Total comments: 4

Patch Set 3 : Resolve review comments. #

Patch Set 4 : Fix compile error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -14 lines) Patch
M ui/file_manager/file_manager/foreground/js/metadata_box_controller.js View 1 2 3 3 chunks +43 lines, -14 lines 0 comments Download

Messages

Total messages: 28 (21 generated)
tetsui
fukino@: PTAL. Thanks!
3 years, 6 months ago (2017-06-20 03:28:24 UTC) #11
fukino
I'm sorry for a late response! https://codereview.chromium.org/2945793002/diff/20001/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js File ui/file_manager/file_manager/foreground/js/metadata_box_controller.js (right): https://codereview.chromium.org/2945793002/diff/20001/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js#newcode63 ui/file_manager/file_manager/foreground/js/metadata_box_controller.js:63: this.onDirectorySizeLoaded_ = function(entry) ...
3 years, 5 months ago (2017-06-26 08:49:21 UTC) #12
tetsui
https://codereview.chromium.org/2945793002/diff/20001/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js File ui/file_manager/file_manager/foreground/js/metadata_box_controller.js (right): https://codereview.chromium.org/2945793002/diff/20001/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js#newcode63 ui/file_manager/file_manager/foreground/js/metadata_box_controller.js:63: this.onDirectorySizeLoaded_ = function(entry) {}; On 2017/06/26 08:49:21, fukino wrote: ...
3 years, 5 months ago (2017-06-27 02:02:14 UTC) #21
fukino
lgtm
3 years, 5 months ago (2017-06-27 03:25:01 UTC) #22
tetsui
Thank you!
3 years, 5 months ago (2017-06-27 03:28:23 UTC) #23
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/2945793002/60001
3 years, 5 months ago (2017-06-27 03:28:39 UTC) #25
commit-bot: I haz the power
3 years, 5 months ago (2017-06-27 03:32:20 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/ab62a8b172d7d04bf021d9f010c9...

Powered by Google App Engine
This is Rietveld 408576698