DescriptionFix arguments passed to FileEntry.copyTo() and FileEntry.moveTo().
The copyTo() and moveTo() function in FileEntry takes a DirectoryEntry
argument and an optional new name argument. The name argument is used
to specify the file name, which should not contain any directory
components. This CL fixes a failed invocation of copyTo() due to a path
with directory components being passed as the name argument.
The CL also chanegs the code to pass the correct form of callback to
copyTo() and moveTo().
BUG=chromium-os:26962
TEST=TEST=Manually tested copy, move, and rename operations on GData mount point.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126669
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|