Implement server side copy of regular files.
commit9aa6a06f0b380c30d9e175d3949378697dafd693
authorhidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 17 May 2013 19:18:40 +0000 (17 19:18 +0000)
committerhidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 17 May 2013 19:18:40 +0000 (17 19:18 +0000)
treedd470b97e6d5e8c1701561114802b3f0ddb5b4bd
parent854cef6de9763c1c470a7da3205fd9c55da13e80
Implement server side copy of regular files.

Drive API v2 supports to copy regular files on server side, which is not on
GData WAPI. This CL changes to use the feature only when Drive API v2 is
enabled. By this change, we don't need to download and then upload the file
on Drive API v2.

BUG=138273
TEST=Ran unit_tests and tested manually.

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200794

Review URL: https://chromiumcodereview.appspot.com/15085022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200868 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chromeos/drive/file_system/copy_operation.cc
chrome/browser/chromeos/drive/file_system/copy_operation.h