diff options
author | aunsane <aunsane@gmail.com> | 2017-04-23 13:50:22 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-04-23 13:50:22 +0300 |
commit | 3aac528057ce49c8497211a4348df5363af17e1e (patch) | |
tree | 2a4c1b8cad10d59bd5fd1682a1d62a6925001abf /plugins/CloudFile/src/Services/google_service.h | |
parent | 5048672e81f3ee9aa864ef9d736a3d74da051754 (diff) |
CloudFile: implement GDrive upload
Diffstat (limited to 'plugins/CloudFile/src/Services/google_service.h')
-rw-r--r-- | plugins/CloudFile/src/Services/google_service.h | 6 |
1 files changed, 3 insertions, 3 deletions
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); |