diff options
author | hirono@chromium.org <hirono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-05 05:17:45 +0000 |
---|---|---|
committer | hirono@chromium.org <hirono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-05 05:17:45 +0000 |
commit | c717454fadee4ae4d4767f5b89243de146036bf4 (patch) | |
tree | 2680bbf50c1a7e5fbd9071781152df3904ad5650 /chrome/test/data/file_manager | |
parent | 945e0f67a591974f549c8259043caeeb4fe545b2 (diff) | |
download | chromium_src-c717454fadee4ae4d4767f5b89243de146036bf4.zip chromium_src-c717454fadee4ae4d4767f5b89243de146036bf4.tar.gz chromium_src-c717454fadee4ae4d4767f5b89243de146036bf4.tar.bz2 |
Files.app: Fix the number of remaining files and processed bytes.
A part of code of FileOperationManager aims to recursive operations in order to
obtain the detailed progress. But the recursive operations is not implemented
now.
The code caused bugs of wrong progress bytes and remaining file count.
This CL fixes the bug.
BUG=340180
TEST=manually
Review URL: https://codereview.chromium.org/152513002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248855 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/file_manager')
-rw-r--r-- | chrome/test/data/file_manager/unit_tests/file_operation_handler_unittest.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/data/file_manager/unit_tests/file_operation_handler_unittest.js b/chrome/test/data/file_manager/unit_tests/file_operation_handler_unittest.js index d461a5a..afb7798 100644 --- a/chrome/test/data/file_manager/unit_tests/file_operation_handler_unittest.js +++ b/chrome/test/data/file_manager/unit_tests/file_operation_handler_unittest.js @@ -35,7 +35,7 @@ function testCopySuccess() { status: { operationType: 'COPY', numRemainingItems: 1, - processingEntry: {name: 'sample.txt'}, + processingEntryName: 'sample.txt', totalBytes: 200, processedBytes: 0 } @@ -81,7 +81,7 @@ function testCopyCancel() { status: { operationType: 'COPY', numRemainingItems: 1, - processingEntry: {name: 'sample.txt'}, + processingEntryName: 'sample.txt', totalBytes: 200, processedBytes: 0 } |