aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/googledrive/googledrivestorage.h
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-14 07:44:58 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit5cbb3e8705f51337c6455ecb5dc7004abf82bd89 (patch)
tree8ce11f96b7b7fb898e47462e9209d60c3bc1f2ea /backends/cloud/googledrive/googledrivestorage.h
parentd96cdacb38afd9394ab442e7b5a74cc87a495092 (diff)
downloadscummvm-rg350-5cbb3e8705f51337c6455ecb5dc7004abf82bd89.tar.gz
scummvm-rg350-5cbb3e8705f51337c6455ecb5dc7004abf82bd89.tar.bz2
scummvm-rg350-5cbb3e8705f51337c6455ecb5dc7004abf82bd89.zip
CLOUD: Add Storage::uploadStreamSupported()
Box uses POST multipart/form requests for uploading. Such requests could be sent with libcurl if we either have a file available or a buffer with this file's contents. SavesSyncRequest was using Storage::upload(ReadStream *), which couldn't be implemented in BoxStorage. Thus I've added a method to test whether such upload is supported and, if it's not, SavesSyncRequest uses the other.
Diffstat (limited to 'backends/cloud/googledrive/googledrivestorage.h')
0 files changed, 0 insertions, 0 deletions