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

Issue 867233003: Files.app: Show 'no space' message if there is not enough space to import photos. (Closed)

Created:
5 years, 11 months ago by hirono
Modified:
5 years, 10 months ago
Reviewers:
Steve McKay
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

Files.app: Show 'no space' message if there is not enough space to import photos. The CL lets create scan for selection before import is executed. The scan is needed for obtaining the correct entry number to be imported and their total size. The CL also adds ScanCache class. The new class does not cache multiple scan as the previous cache did, but it can cache scan for selection. BUG=420680 TEST=FileManagerJsTest.ImportControllerTest

Patch Set 1 #

Patch Set 2 : Rebased. #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -113 lines) Patch
M ui/file_manager/file_manager/foreground/js/import_controller.js View 1 10 chunks +121 lines, -95 lines 6 comments Download
M ui/file_manager/file_manager/foreground/js/import_controller_unittest.js View 6 chunks +17 lines, -18 lines 1 comment Download

Messages

Total messages: 6 (1 generated)
hirono
PTAL. Thanks!
5 years, 11 months ago (2015-01-24 02:39:33 UTC) #2
Steve McKay
https://codereview.chromium.org/867233003/diff/20001/ui/file_manager/file_manager/foreground/js/import_controller.js File ui/file_manager/file_manager/foreground/js/import_controller.js (left): https://codereview.chromium.org/867233003/diff/20001/ui/file_manager/file_manager/foreground/js/import_controller.js#oldcode308 ui/file_manager/file_manager/foreground/js/import_controller.js:308: importer.ControllerEnvironment.prototype.addVolumeUnmountListener; We still need to invalidate scans when a ...
5 years, 11 months ago (2015-01-26 18:08:44 UTC) #3
Steve McKay
Hirono-san. We've made some changes to cloud-import that will allow us to push updates. Basically ...
5 years, 10 months ago (2015-01-28 15:27:50 UTC) #4
chromium-reviews
Yes! Thank you for the update! On Thu Jan 29 2015 at 12:27:50 AM <smckay@chromium.org> ...
5 years, 10 months ago (2015-01-29 00:18:16 UTC) #5
hirono
5 years, 10 months ago (2015-02-02 07:27:41 UTC) #6
On 2015/01/29 00:18:16, chromium-reviews wrote:
> Yes! Thank you for the update!
> 
> On Thu Jan 29 2015 at 12:27:50 AM <mailto:smckay@chromium.org> wrote:
> 
> > Hirono-san. We've made some changes to cloud-import that will allow us to
> > push
> > updates. Basically we no longer use the command sub-system. This means we
> > can
> > simplify this logic related to disk space calculation.
> >
> > Here's what I think we should do. Let's not submit this CL. I'll use it as
> > a
> > template for a subsequent change that finalizes the change to implement the
> > "push updates". At that point we can either land this CL, or land a
> > different CL
> > based on this CL.
> >
> > So don't bother making further changes on this CL, but please don't delete
> > it so
> > we can use it as the basis for a future CL.
> >
> > Sound good?
> >
> >
> >
> > https://codereview.chromium.org/867233003/
> >
> 
> To unsubscribe from this group and stop receiving emails from it, send an
email
> to mailto:chromium-reviews+unsubscribe@chromium.org.

Steve's new patch was submitted. Let me close the CL.

Powered by Google App Engine
This is Rietveld 408576698