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

Issue 1378053004: Simplify FileTasks in Files app. (Closed)

Created:
5 years, 2 months ago by mtomasz
Modified:
5 years, 2 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

Simplify FileTasks in Files app. * Replaced tricky pending invocations logic with promises. * Removed init(). * Moved entries and mimeTypes to the constructor. * Removed unused methods and asserts. BUG=None TEST=Tested manually. All tests pass. Committed: https://crrev.com/def5658e39a7217680c284988d4aa544d646b54d Cr-Commit-Position: refs/heads/master@{#351961}

Patch Set 1 #

Patch Set 2 : Fixed unit tests. #

Patch Set 3 : Fixed a bug causing the browser tests fail. #

Patch Set 4 : Fixed console spam. #

Patch Set 5 : WIP #

Patch Set 6 : Introduced FileTasks.create. #

Total comments: 6

Patch Set 7 : Fixed. #

Patch Set 8 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+307 lines, -309 lines) Patch
M ui/file_manager/file_manager/foreground/js/file_manager_commands.js View 1 2 3 4 5 6 7 2 chunks +6 lines, -3 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_tasks.js View 1 2 3 4 5 6 7 22 chunks +149 lines, -187 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_tasks_unittest.js View 1 2 3 4 5 7 chunks +22 lines, -20 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/main_window_component.js View 1 2 3 4 2 chunks +26 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/task_controller.js View 1 2 3 4 5 7 chunks +103 lines, -96 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/task_controller_unittest.js View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (3 generated)
mtomasz
@hirono: PTAL. Thanks!
5 years, 2 months ago (2015-10-01 06:13:33 UTC) #2
mtomasz
I forgot to fix tests. Doing it now.
5 years, 2 months ago (2015-10-01 06:14:13 UTC) #3
mtomasz
@hirono: Fixed tests. PTAL. Thanks!
5 years, 2 months ago (2015-10-01 06:48:56 UTC) #4
hirono
On 2015/10/01 06:48:56, mtomasz wrote: > @hirono: Fixed tests. PTAL. Thanks! Now FileTasks got to ...
5 years, 2 months ago (2015-10-01 07:31:47 UTC) #5
mtomasz
@hirono: Good idea. Done. PTAL, thanks!
5 years, 2 months ago (2015-10-01 09:27:13 UTC) #6
hirono
Thanks! LGTM! https://codereview.chromium.org/1378053004/diff/100001/ui/file_manager/file_manager/foreground/js/file_tasks.js File ui/file_manager/file_manager/foreground/js/file_tasks.js (right): https://codereview.chromium.org/1378053004/diff/100001/ui/file_manager/file_manager/foreground/js/file_tasks.js#newcode59 ui/file_manager/file_manager/foreground/js/file_tasks.js:59: * @private {!Array<!Object>} We can mark it ...
5 years, 2 months ago (2015-10-01 09:40:41 UTC) #7
mtomasz
https://codereview.chromium.org/1378053004/diff/100001/ui/file_manager/file_manager/foreground/js/file_tasks.js File ui/file_manager/file_manager/foreground/js/file_tasks.js (right): https://codereview.chromium.org/1378053004/diff/100001/ui/file_manager/file_manager/foreground/js/file_tasks.js#newcode59 ui/file_manager/file_manager/foreground/js/file_tasks.js:59: * @private {!Array<!Object>} On 2015/10/01 09:40:40, hirono wrote: > ...
5 years, 2 months ago (2015-10-02 01:09:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1378053004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1378053004/140001
5 years, 2 months ago (2015-10-02 04:49:52 UTC) #11
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 2 months ago (2015-10-02 05:16:24 UTC) #12
commit-bot: I haz the power
5 years, 2 months ago (2015-10-02 05:18:31 UTC) #13
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/def5658e39a7217680c284988d4aa544d646b54d
Cr-Commit-Position: refs/heads/master@{#351961}

Powered by Google App Engine
This is Rietveld 408576698