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

Unified Diff: chrome/browser/sync_file_system/drive_backend/api_util.cc

Issue 23677002: Work-around fix for SyncFS file upload (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_backend/api_util.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/api_util.cc b/chrome/browser/sync_file_system/drive_backend/api_util.cc
index 6d6013d635b1fc880ee84c845a558d2c943fd420..6f2a0b5e0fb3bb7a78538d48225ea9706bc65c0a 100644
--- a/chrome/browser/sync_file_system/drive_backend/api_util.cc
+++ b/chrome/browser/sync_file_system/drive_backend/api_util.cc
@@ -903,7 +903,8 @@ void APIUtil::UploadExistingFileInternal(
entry->resource_id(),
local_file_path,
mime_type,
- entry->etag(),
+ // Don't use etag for uploading for now. http://crbug.com/278201
+ std::string(), // entry->etag(),
base::Bind(&UploadResultAdapter, did_upload_callback),
google_apis::ProgressCallback());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698