aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/onedrive/onedrivestorage.h
diff options
context:
space:
mode:
authorAlexander Tkachev2016-05-31 19:18:06 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit0d0033fb6ad00e3081bc2854ce5972746b603105 (patch)
tree001f3f481609731d19dd5818e1789fa0d3a05faf /backends/cloud/onedrive/onedrivestorage.h
parent13351a730d79cc2f0d5b964226c69bb04e2c93c1 (diff)
downloadscummvm-rg350-0d0033fb6ad00e3081bc2854ce5972746b603105.tar.gz
scummvm-rg350-0d0033fb6ad00e3081bc2854ce5972746b603105.tar.bz2
scummvm-rg350-0d0033fb6ad00e3081bc2854ce5972746b603105.zip
CLOUD: Make syncSaves() common for all Storages
As it uses SavesSyncRequest and this request is using Storage's upload(), download() and listDirectory(), there is no need to make storage-dependent version of that request and so method could be implemented in base Storage.
Diffstat (limited to 'backends/cloud/onedrive/onedrivestorage.h')
-rw-r--r--backends/cloud/onedrive/onedrivestorage.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/backends/cloud/onedrive/onedrivestorage.h b/backends/cloud/onedrive/onedrivestorage.h
index 5741f8e20e..241b6a8742 100644
--- a/backends/cloud/onedrive/onedrivestorage.h
+++ b/backends/cloud/onedrive/onedrivestorage.h
@@ -57,9 +57,6 @@ class OneDriveStorage: public Cloud::Storage {
void printFiles(FileArrayResponse response);
void printBool(BoolResponse response);
void printFile(UploadResponse response);
- void printErrorResponse(Networking::ErrorResponse error);
-
- Networking::ErrorCallback getErrorPrintingCallback();
void fileInfoCallback(Networking::NetworkReadStreamCallback outerCallback, Networking::JsonResponse response);
public:
@@ -99,9 +96,6 @@ public:
virtual Networking::Request *remove(Common::String path, BoolCallback callback, Networking::ErrorCallback errorCallback) { return nullptr; } //TODO
/** Calls the callback when finished. */
- virtual Networking::Request *syncSaves(BoolCallback callback, Networking::ErrorCallback errorCallback);
-
- /** Calls the callback when finished. */
virtual Networking::Request *createDirectory(Common::String path, BoolCallback callback, Networking::ErrorCallback errorCallback) { return nullptr; } //TODO
/** Calls the callback when finished. */