diff options
Diffstat (limited to 'plugins/CloudFile/src/Services/google_service.h')
-rw-r--r-- | plugins/CloudFile/src/Services/google_service.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/CloudFile/src/Services/google_service.h b/plugins/CloudFile/src/Services/google_service.h index 3bb4466e57..9da2f14e5f 100644 --- a/plugins/CloudFile/src/Services/google_service.h +++ b/plugins/CloudFile/src/Services/google_service.h @@ -9,11 +9,11 @@ private: void HandleJsonError(JSONNode &node) override; - void UploadFile(const char *parentId, const char *name, const char *data, size_t size, CMStringA &fileId); - void CreateUploadSession(const char *parentId, const char *name, CMStringA &uploadUri); - void UploadFileChunk(const char *uploadUri, const char *chunk, size_t chunkSize, uint64_t offset, uint64_t fileSize, CMStringA &fileId); - void CreateFolder(const char *path, CMStringA &folderId); - void CreateSharedLink(const char *itemId, CMStringA &url); + auto UploadFile(const std::string &parentId, const std::string &fileName, const char *data, size_t size); + auto CreateUploadSession(const std::string &parentId, const std::string &fileName); + auto UploadFileChunk(const std::string &uploadUri, const char *chunk, size_t chunkSize, uint64_t offset, uint64_t fileSize); + auto CreateFolder(const char *path); + auto CreateSharedLink(const std::string &itemId); public: CGDriveService(const char *protoName, const wchar_t *userName); |