Index: chrome/browser/google_apis/gdata_wapi_operations.h |
diff --git a/chrome/browser/google_apis/gdata_wapi_operations.h b/chrome/browser/google_apis/gdata_wapi_operations.h |
index fe8272dd2b7f74aa2f6757c85f05606124f46380..68e84791fb199a192810b4e832d10783c0d98b43 100644 |
--- a/chrome/browser/google_apis/gdata_wapi_operations.h |
+++ b/chrome/browser/google_apis/gdata_wapi_operations.h |
@@ -509,6 +509,7 @@ struct ResumeUploadParams { |
int64 content_length, |
const std::string& content_type, |
scoped_refptr<net::IOBuffer> buf, |
+ int64 buf_offset, |
const GURL& upload_location, |
const FilePath& drive_file_path); |
~ResumeUploadParams(); |
@@ -524,6 +525,8 @@ struct ResumeUploadParams { |
const std::string content_type; // Content-Type of file. |
// Holds current content to be uploaded. |
const scoped_refptr<net::IOBuffer> buf; |
+ // The offset of the available data from the beginning of the buf. |
+ const int64 buf_offset; |
const GURL upload_location; // Url of where to upload the file to. |
// Drive file path of the file seen in the UI. Not necessary for |
// resuming an upload, but used for adding an entry to OperationRegistry. |