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

Unified Diff: chrome/browser/chromeos/drive/drive_uploader.cc

Issue 11143014: Add request header on gdata operation for testing ETag match. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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
Index: chrome/browser/chromeos/drive/drive_uploader.cc
diff --git a/chrome/browser/chromeos/drive/drive_uploader.cc b/chrome/browser/chromeos/drive/drive_uploader.cc
index 25507bfa8483c21259ddd394f2e4424be5df6712..8a30bd6225306240820f57e65317596543f9671a 100644
--- a/chrome/browser/chromeos/drive/drive_uploader.cc
+++ b/chrome/browser/chromeos/drive/drive_uploader.cc
@@ -304,7 +304,8 @@ void DriveUploader::OpenCompletionCallback(FileOpenType open_type,
upload_file_info->content_type,
upload_file_info->content_length,
upload_file_info->initial_upload_location,
- upload_file_info->drive_path),
+ upload_file_info->drive_path,
+ upload_file_info->etag),
base::Bind(&DriveUploader::OnUploadLocationReceived,
weak_ptr_factory_.GetWeakPtr(),
upload_file_info->upload_id));

Powered by Google App Engine
This is Rietveld 408576698