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

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: +comment 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 674e6c3d326ee45686bf6e99250ecd06aaf59913..9b0e5af40636ac8fea0440ea6b2ca4fd70fe293d 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 the destination file. Leave this empty if not needed.
+ 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