Commit 7793c2c6 authored by kinuko@chromium.org's avatar kinuko@chromium.org

Revert 219983 "Work-around fix for SyncFS file upload"

> Work-around fix for SyncFS file upload
> 
> Due to the server-side change uploading with etag always seems to fail.
> Don't use etag for uploading to work around until we figure out the
> right fix.
> 
> BUG=278201
> TEST=manual
> R=tzik@chromium.org
> 
> Review URL: https://codereview.chromium.org/23677002

TBR=kinuko@chromium.org

Review URL: https://codereview.chromium.org/23534028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220499 0039d316-1c4b-4281-b951-d872f2087c98
parent 4f4173f3
...@@ -909,8 +909,7 @@ void APIUtil::UploadExistingFileInternal( ...@@ -909,8 +909,7 @@ void APIUtil::UploadExistingFileInternal(
entry->resource_id(), entry->resource_id(),
local_file_path, local_file_path,
mime_type, mime_type,
// Don't use etag for uploading for now. http://crbug.com/278201 entry->etag(),
std::string(), // entry->etag(),
base::Bind(&UploadResultAdapter, did_upload_callback), base::Bind(&UploadResultAdapter, did_upload_callback),
google_apis::ProgressCallback()); google_apis::ProgressCallback());
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment