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

Issue 9662041: Implement copy and move operations within the same remote file system. (Closed)

Created:
8 years, 9 months ago by Ben Chan
Modified:
8 years, 9 months ago
Reviewers:
satorux1, zel
CC:
chromium-reviews, achuith+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Implement copy and move operations within the same remote file system. This CL makes the following changes: 1. Implement copy and move operations in RemoteFileSystemOperation, DocumentsService, and GDataFileSystem. Copying of regular files and directories is yet to be implemented. 2. Add corresponding unit tests in GDataFileSystemTest. BUG=chromium-os:26962 TEST=Tested the following: 1. Run "unit_tests --gtest_filter='*GData*'" 2. Manually test copy, move, and rename operations in file manager. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126369

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 59

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Patch Set 6 : rebase to HEAD #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1430 lines, -20 lines) Patch
M chrome/browser/chromeos/gdata/gdata.h View 1 2 3 4 5 4 chunks +60 lines, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata.cc View 1 2 3 4 5 6 chunks +309 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.h View 1 2 3 4 5 6 chunks +124 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 2 3 4 5 5 chunks +422 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_proxy.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc View 1 2 3 4 5 4 chunks +29 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc View 1 2 3 4 5 3 chunks +363 lines, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata_mock.h View 1 2 3 4 5 5 chunks +43 lines, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata_mock.cc View 1 2 3 4 5 2 chunks +47 lines, -0 lines 0 comments Download
M webkit/chromeos/fileapi/remote_file_system_operation.cc View 1 2 3 4 5 1 chunk +11 lines, -3 lines 0 comments Download
M webkit/chromeos/fileapi/remote_file_system_proxy.h View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Ben Chan
Notes: I will upload the changes to file manager javascript in a separated CL. Right ...
8 years, 9 months ago (2012-03-11 06:15:32 UTC) #1
Ben Chan
file manager CL: http://chromiumcodereview.appspot.com/9667040/
8 years, 9 months ago (2012-03-12 03:04:19 UTC) #2
satorux1
This is awesome stuff. I think it'd be nicer to split the patch like: 1) ...
8 years, 9 months ago (2012-03-12 17:48:24 UTC) #3
satorux1
BTW, splitting patches has its own cost. Please feel free to keep it in a ...
8 years, 9 months ago (2012-03-12 19:59:20 UTC) #4
zel
http://codereview.chromium.org/9662041/diff/8001/chrome/browser/chromeos/gdata/gdata.cc File chrome/browser/chromeos/gdata/gdata.cc (right): http://codereview.chromium.org/9662041/diff/8001/chrome/browser/chromeos/gdata/gdata.cc#newcode1033 chrome/browser/chromeos/gdata/gdata.cc:1033: return URLFetcher::DELETE_REQUEST; will this delete the file completely or ...
8 years, 9 months ago (2012-03-12 20:40:40 UTC) #5
zel
http://codereview.chromium.org/9662041/diff/8001/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc File chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc (right): http://codereview.chromium.org/9662041/diff/8001/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc#newcode38 chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc:38: entry.name = file.file_name(); aren't you supposed to append GDataFileBase::document_extension_ ...
8 years, 9 months ago (2012-03-12 20:46:46 UTC) #6
Ben Chan
The gdata_files changes this CL is now in http://codereview.chromium.org/9694016/. Once that CL is merged, I ...
8 years, 9 months ago (2012-03-13 00:29:21 UTC) #7
satorux1
LGTM. might want to wait for zel's comments. http://codereview.chromium.org/9662041/diff/8001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/9662041/diff/8001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode661 chrome/browser/chromeos/gdata/gdata_file_system.cc:661: // ...
8 years, 9 months ago (2012-03-13 01:12:17 UTC) #8
Ben Chan
Removed CopyMoveParams/GetCopyMoveParams based on zel's suggestion. http://codereview.chromium.org/9662041/diff/8001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/9662041/diff/8001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode632 chrome/browser/chromeos/gdata/gdata_file_system.cc:632: return false; On ...
8 years, 9 months ago (2012-03-13 02:16:36 UTC) #9
zel
lgtm
8 years, 9 months ago (2012-03-13 05:10:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benchan@chromium.org/9662041/21010
8 years, 9 months ago (2012-03-13 08:40:27 UTC) #11
commit-bot: I haz the power
8 years, 9 months ago (2012-03-13 10:06:09 UTC) #12
Change committed as 126369

Powered by Google App Engine
This is Rietveld 408576698