From 3aac528057ce49c8497211a4348df5363af17e1e Mon Sep 17 00:00:00 2001 From: aunsane Date: Sun, 23 Apr 2017 13:50:22 +0300 Subject: CloudFile: implement GDrive upload --- plugins/CloudFile/src/Services/google_service.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/CloudFile/src/Services/google_service.h') diff --git a/plugins/CloudFile/src/Services/google_service.h b/plugins/CloudFile/src/Services/google_service.h index db72ef9dee..d9c99009c6 100644 --- a/plugins/CloudFile/src/Services/google_service.h +++ b/plugins/CloudFile/src/Services/google_service.h @@ -9,10 +9,10 @@ private: void HandleJsonError(JSONNode &node); - void StartUploadFile(); - void UploadFile(const char *url, const char *data, size_t size); + void StartUploadFile(char *uploadUri, const char *name); + void UploadFile(const char *uploadUri, const char *chunk, size_t chunkSize, uint64_t offset, uint64_t fileSize, char *fileId); void CreateFolder(const char *path); - void CreateSharedLink(const char *path, char *url); + void CreateSharedLink(const char *fileId, char *url); public: CGDriveService(HNETLIBUSER hConnection); -- cgit v1.2.3