CLOUD: Make OneDriveStorage::download() work fine
Well, it takes two API calls instead of one now, but there are no problems with expired token because of it. This commit changes Storage::streamFile() to pass NetworkReadStream * through callback.
This commit is contained in:
parent
24007c029b
commit
83b349a033
13 changed files with 77 additions and 36 deletions
|
@ -42,7 +42,7 @@ class CurlJsonRequest: public CurlRequest {
|
|||
char *getPreparedContents();
|
||||
|
||||
public:
|
||||
CurlJsonRequest(JsonCallback cb, const char *url);
|
||||
CurlJsonRequest(JsonCallback cb, Common::String url);
|
||||
virtual ~CurlJsonRequest();
|
||||
|
||||
virtual void handle();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue