From 7b1d58962694bd6dd1971d6eda673ddc0877f7c2 Mon Sep 17 00:00:00 2001 From: aunsane Date: Thu, 27 Apr 2017 01:53:37 +0300 Subject: CloudFile: fix uploading small files for GDrive and OneDrive --- plugins/CloudFile/src/Services/microsoft_service.h | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/CloudFile/src/Services/microsoft_service.h') diff --git a/plugins/CloudFile/src/Services/microsoft_service.h b/plugins/CloudFile/src/Services/microsoft_service.h index 8c3c30e035..3b49e1f6f3 100644 --- a/plugins/CloudFile/src/Services/microsoft_service.h +++ b/plugins/CloudFile/src/Services/microsoft_service.h @@ -8,6 +8,7 @@ private: void HandleJsonError(JSONNode &node); + void UploadFile(const char *parentId, const char *name, const char *data, size_t size, char *fileId); void CreateUploadSession(char *uploadUri, const char *name, const char *parentId = NULL); void UploadFileChunk(const char *uploadUri, const char *chunk, size_t chunkSize, uint64_t offset, uint64_t fileSize, char *itemId); void CreateFolder(const char *path, char *itemId); -- cgit v1.2.3