22 #ifndef BACKENDS_CLOUD_GOOGLEDRIVE_GOOGLEDRIVESTORAGE_H 23 #define BACKENDS_CLOUD_GOOGLEDRIVE_GOOGLEDRIVESTORAGE_H 25 #include "backends/cloud/id/idstorage.h" 26 #include "backends/networking/curl/curljsonrequest.h" 29 namespace GoogleDrive {
Networking::Request * createDirectoryWithParentId(const Common::String &parentId, const Common::String &directoryName, BoolCallback callback, Networking::ErrorCallback errorCallback) override
Definition: basestorage.h:28
bool canReuseRefreshToken() override
Common::String cloudProvider() override
static GoogleDriveStorage * loadFromConfig(const Common::String &keyPrefix)
Networking::Request * streamFileById(const Common::String &id, Networking::NetworkReadStreamCallback callback, Networking::ErrorCallback errorCallback) override
Common::String name() const override
void saveConfig(const Common::String &keyPrefix) override
Common::String _token
Definition: basestorage.h:33
Networking::Request * listDirectoryById(const Common::String &id, ListDirectoryCallback callback, Networking::ErrorCallback errorCallback) override
Definition: callback.h:49
Common::String savesDirectoryPath() override
uint32 storageIndex() override
static void removeFromConfig(const Common::String &keyPrefix)
Definition: idstorage.h:45
Networking::Request * upload(const Common::String &path, Common::SeekableReadStream *contents, UploadCallback callback, Networking::ErrorCallback errorCallback) override
Networking::Request * info(StorageInfoCallback callback, Networking::ErrorCallback errorCallback) override
bool needsRefreshToken() override
Definition: googledrivestorage.h:31
Definition: request.h:119