| Index: google_apis/drive/base_requests.h
|
| diff --git a/google_apis/drive/base_requests.h b/google_apis/drive/base_requests.h
|
| index a95d234d74f79e27a8cd9b64226228ab801e010b..d18d0793801071eec13d5ca5f1be6e344bfae730 100644
|
| --- a/google_apis/drive/base_requests.h
|
| +++ b/google_apis/drive/base_requests.h
|
| @@ -63,11 +63,13 @@ scoped_ptr<base::Value> ParseJson(const std::string& json);
|
|
|
| // Generate multipart body. If |predetermined_boundary| is not empty, it uses
|
| // the string as boundary. Otherwise it generates random boundary that does not
|
| -// conflict with |parts|.
|
| +// conflict with |parts|. If |data_offset| is not nullptr, it stores the
|
| +// index of first byte of each part in multipart body.
|
| void GenerateMultipartBody(MultipartType multipart_type,
|
| const std::string& predetermined_boundary,
|
| const std::vector<ContentTypeAndData>& parts,
|
| - ContentTypeAndData* output);
|
| + ContentTypeAndData* output,
|
| + std::vector<uint64>* data_offset);
|
|
|
| //======================= AuthenticatedRequestInterface ======================
|
|
|
|
|