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

Issue 9694057: Fix arguments passed to FileEntry.copyTo() and FileEntry.moveTo(). (Closed)

Created:
8 years, 9 months ago by Ben Chan
Modified:
8 years, 9 months ago
Reviewers:
rginda, dgozman
CC:
chromium-reviews, rginda+watch_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -4 lines) Patch
M chrome/browser/resources/file_manager/js/file_copy_manager.js View 3 chunks +68 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Ben Chan
8 years, 9 months ago (2012-03-13 22:58:07 UTC) #1
dgozman
LGTM
8 years, 9 months ago (2012-03-14 05:44:39 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benchan@chromium.org/9694057/1
8 years, 9 months ago (2012-03-14 14:17:17 UTC) #3
commit-bot: I haz the power
8 years, 9 months ago (2012-03-14 17:22:57 UTC) #4
Change committed as 126669

Powered by Google App Engine
This is Rietveld 408576698