aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/googledrive/googledrivestorage.h
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-20 18:47:34 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitb180c73675846f45abab2190b39e0b9d0d6addbf (patch)
tree3bdd7dc9f23406220022e8b9261ae748362b4de1 /backends/cloud/googledrive/googledrivestorage.h
parenta449ddce15c512e809b9aedad334db6b52628e61 (diff)
downloadscummvm-rg350-b180c73675846f45abab2190b39e0b9d0d6addbf.tar.gz
scummvm-rg350-b180c73675846f45abab2190b39e0b9d0d6addbf.tar.bz2
scummvm-rg350-b180c73675846f45abab2190b39e0b9d0d6addbf.zip
CLOUD: Do some refactoring/cleanup
Nothing really major.
Diffstat (limited to 'backends/cloud/googledrive/googledrivestorage.h')
-rw-r--r--backends/cloud/googledrive/googledrivestorage.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/backends/cloud/googledrive/googledrivestorage.h b/backends/cloud/googledrive/googledrivestorage.h
index eee4de90b0..4c164dd91d 100644
--- a/backends/cloud/googledrive/googledrivestorage.h
+++ b/backends/cloud/googledrive/googledrivestorage.h
@@ -24,7 +24,6 @@
#define BACKENDS_CLOUD_GOOGLEDRIVE_GOOGLEDRIVESTORAGE_H
#include "backends/cloud/id/idstorage.h"
-#include "common/callback.h"
#include "backends/networking/curl/curljsonrequest.h"
namespace Cloud {
@@ -87,9 +86,6 @@ public:
virtual Networking::Request *streamFileById(Common::String id, Networking::NetworkReadStreamCallback callback, Networking::ErrorCallback errorCallback);
/** Calls the callback when finished. */
- virtual Networking::Request *remove(Common::String path, BoolCallback callback, Networking::ErrorCallback errorCallback) { return nullptr; } //TODO
-
- /** Calls the callback when finished. */
virtual Networking::Request *createDirectoryWithParentId(Common::String parentId, Common::String name, BoolCallback callback, Networking::ErrorCallback errorCallback);
/** Returns the StorageInfo struct. */
@@ -113,7 +109,7 @@ public:
*/
void getAccessToken(BoolCallback callback, Networking::ErrorCallback errorCallback = nullptr, Common::String code = "");
- Common::String accessToken() { return _token; }
+ Common::String accessToken() const { return _token; }
};
} // End of namespace GoogleDrive