diff options
author | aunsane <aunsane@gmail.com> | 2018-04-21 20:45:34 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-04-21 20:45:53 +0300 |
commit | a74debb40c3df12738c722548c556a97e5976036 (patch) | |
tree | f3c2e224d75b64de547778625122d6242e558f36 /plugins/CloudFile/src/Services/google_service.h | |
parent | 803e7b0b5e7c84a814601141fcb7634516eefa30 (diff) |
CloudFile:
- fix #1278
- decrease volume of response data with fields filtering
- fix uploading for gdrive and onedrive in some cases
- simplifying upload code
- version bump
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 717e6314b0..35d5f528fb 100644 --- a/plugins/CloudFile/src/Services/google_service.h +++ b/plugins/CloudFile/src/Services/google_service.h @@ -12,9 +12,11 @@ private: 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 CreateFolder(const std::string &parentId, const std::string &name); auto CreateSharedLink(const std::string &itemId); + void Upload(FileTransferParam *ftp) override; + public: CGDriveService(const char *protoName, const wchar_t *userName); @@ -28,8 +30,6 @@ public: bool IsLoggedIn() override; void Login(HWND owner = nullptr) override; void Logout() override; - - UINT Upload(FileTransferParam *ftp) override; }; #endif //_CLOUDFILE_GDRIVE_H_
\ No newline at end of file |