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

Issue 888693002: Correctly handle out of storage space and "actively importing" states in controller. (Closed)

Created:
5 years, 10 months ago by Steve McKay
Modified:
5 years, 10 months ago
Reviewers:
hirono, satorux1, Ben Kwa
CC:
chromium-reviews, tfarina, 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

Correctly handle out of storage space and "actively importing" states in controller. Changes in task state trigger import controller updates (triggering scanning and UI updates). Update test to work with new async update model. Also: Fix media importer code to pass logical destination when marking a file imported. +satorux for chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc BUG=420680 TEST=browser_test: FileManagerJsTest.* Committed: https://crrev.com/c207bdf2512198ba73c6e9f0bec6d25ffd7faf40 Cr-Commit-Position: refs/heads/master@{#313869}

Patch Set 1 #

Patch Set 2 : Add test coverage of triggering update when import is finished or cancelled. #

Patch Set 3 : #

Patch Set 4 : Fix import handler to pass logical import destination when marking for import. #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 14

Patch Set 7 : Respond to review comments. #

Patch Set 8 : #

Messages

Total messages: 24 (7 generated)
Steve McKay
Add test coverage of triggering update when import is finished or cancelled.
5 years, 10 months ago (2015-01-29 20:40:44 UTC) #1
Steve McKay
5 years, 10 months ago (2015-01-29 21:13:36 UTC) #3
Steve McKay
Fix import handler to pass logical import destination when marking for import.
5 years, 10 months ago (2015-01-29 21:25:42 UTC) #4
Ben Kwa
lgtm
5 years, 10 months ago (2015-01-29 22:39:09 UTC) #5
Steve McKay
Thanks. And I made all the changes we discussed offline.
5 years, 10 months ago (2015-01-29 22:43:37 UTC) #6
Steve McKay
I'm thinking Fukino-san was working late...adding Hirono-san. Who ever reviews first...I hope we can get ...
5 years, 10 months ago (2015-01-29 23:32:15 UTC) #8
hirono
lgtm with comments. https://codereview.chromium.org/888693002/diff/100001/ui/file_manager/file_manager/background/js/media_import_handler_unittest.js File ui/file_manager/file_manager/background/js/media_import_handler_unittest.js (right): https://codereview.chromium.org/888693002/diff/100001/ui/file_manager/file_manager/background/js/media_import_handler_unittest.js#newcode170 ui/file_manager/file_manager/background/js/media_import_handler_unittest.js:170: scanResult, Please fix indent. https://codereview.chromium.org/888693002/diff/100001/ui/file_manager/file_manager/foreground/js/import_controller.js File ...
5 years, 10 months ago (2015-01-30 01:24:04 UTC) #9
Steve McKay
Respond to review comments.
5 years, 10 months ago (2015-01-30 03:37:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/888693002/120001
5 years, 10 months ago (2015-01-30 03:37:41 UTC) #12
Steve McKay
Dones. I'll send a followup tomorrow for size calc improvements. Thank you Hirono-san. https://codereview.chromium.org/888693002/diff/100001/ui/file_manager/file_manager/background/js/media_import_handler_unittest.js File ...
5 years, 10 months ago (2015-01-30 03:37:43 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/39363)
5 years, 10 months ago (2015-01-30 03:42:43 UTC) #16
satorux1
chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc lgtm
5 years, 10 months ago (2015-01-30 04:37:47 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/888693002/120001
5 years, 10 months ago (2015-01-30 04:38:30 UTC) #20
satorux1
Please add hirono@ to chrome/browser/chromeos/extensions/file_manager/OWNERS
5 years, 10 months ago (2015-01-30 04:39:02 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 10 months ago (2015-01-30 04:41:30 UTC) #22
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/c207bdf2512198ba73c6e9f0bec6d25ffd7faf40 Cr-Commit-Position: refs/heads/master@{#313869}
5 years, 10 months ago (2015-01-30 04:42:47 UTC) #23
Steve McKay
5 years, 10 months ago (2015-01-30 17:24:06 UTC) #24
Message was sent while issue was closed.
On 2015/01/30 04:42:47, I haz the power (commit-bot) wrote:
> Patchset 7 (id:??) landed as
> https://crrev.com/c207bdf2512198ba73c6e9f0bec6d25ffd7faf40
> Cr-Commit-Position: refs/heads/master@{#313869}

Looks like I choked on this...and didn't upload patchset 8 prior to submitting.

Sorry about this. I'll get a followup CL out today with those changes and the
followup changes re: individual file selection and size calculations.

Powered by Google App Engine
This is Rietveld 408576698