summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/Services/google_service.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-04-27 01:53:37 +0300
committeraunsane <aunsane@gmail.com>2017-04-27 01:54:12 +0300
commit7b1d58962694bd6dd1971d6eda673ddc0877f7c2 (patch)
treeab0e4abefcdfbec12bf4fe7de1b5386cf1ac9378 /plugins/CloudFile/src/Services/google_service.h
parentf27fbe387bede98cf64d7fd7fb3dcff1ba60279d (diff)
CloudFile: fix uploading small files for GDrive and OneDrive
Diffstat (limited to 'plugins/CloudFile/src/Services/google_service.h')
-rw-r--r--plugins/CloudFile/src/Services/google_service.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/CloudFile/src/Services/google_service.h b/plugins/CloudFile/src/Services/google_service.h
index a35827eaf8..1da21b5fef 100644
--- a/plugins/CloudFile/src/Services/google_service.h
+++ b/plugins/CloudFile/src/Services/google_service.h
@@ -9,8 +9,9 @@ private:
void HandleJsonError(JSONNode &node);
- 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 UploadFile(const char *name, const char *data, size_t size, char *fileId);
+ void CreateUploadSession(char *uploadUri, const char *name);
+ void UploadFileChunk(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 *fileId, char *url);