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

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

Issue 11143014: Add request header on gdata operation for testing ETag match. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix & test fix 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.h
diff --git a/chrome/browser/chromeos/drive/drive_uploader.h b/chrome/browser/chromeos/drive/drive_uploader.h
index 406e3086c8770741f8e542e97a1d5b690a7c71fd..e4d09861886f91e655f51d3b70947a98480f6d42 100644
--- a/chrome/browser/chromeos/drive/drive_uploader.h
+++ b/chrome/browser/chromeos/drive/drive_uploader.h
@@ -159,6 +159,9 @@ class DriveUploader : public DriveUploaderInterface {
// InitiateUpload. Used for the subsequent ResumeUpload requests.
GURL upload_location;
+ // ETag to match to the destination file. Leave this empty if not needed.
kochi 2012/10/16 05:04:58 nit: "match the destination file"
tzik 2012/10/16 05:48:05 Done.
+ std::string etag;
+
// Final path in gdata. Looks like /special/drive/MyFolder/MyFile.
FilePath drive_path;

Powered by Google App Engine
This is Rietveld 408576698