9 Commits
Author SHA1 Message Date
Christian Kündig ebfc9c8f55 CLOUD: Refactor ConnectionManager and NetworkReadStream 2025-08-13 18:38:54 +02:00
Christian Kündig 4c3a3bdaff CLOUD: Remove direct use of 'curl_slist' and instead use Common::Array<String> 2025-08-13 18:38:54 +02:00
Christian Kündig ea3c595ce8 CLOUD: Rename 'backends/networking/curl' to 'backends/networking/http' for future alternative http clients 2025-08-13 18:38:54 +02:00
Le Philousophe 0043d344a9 BACKENDS: Avoid passing arguments by value in cloud and networking
Use references everywhere it's possible.
Use override keyword to raise errors when there are discrepancies.
2023-10-29 01:51:38 +02:00
Cameron Cawley 28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko fa685f83ac CLOUD: Fix overridden methods 2021-12-01 00:30:47 +01:00
Orgad Shaneh 44219dfa1a BACKENDS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Alexander Tkachov 8c16575035 CLOUD: Update Dropbox to use refresh_token
Dropbox is switching to short-lived access_token OAuth. This commit adapts Cloud::DropboxStorage to use refresh_token similarly to how other Storages do: by introducing a DropboxTokenRefresher.

It is used instead of plain CurlJsonRequest. It just checks if received JSON has access_token-related error and tries to refresh it, then repeats the original request transparently for the caller. If no such errors found, it just passes the info to the caller.
2021-02-04 01:57:48 +01:00