diff options
author | Alexander Tkachev | 2016-05-27 19:32:35 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 6c01edc57a221e5c376d23f12bb2f090c73c4ffd (patch) | |
tree | 5b7d07e0ca56733ec7fe87d5aa39e47fbf0c678b /backends/networking/curl | |
parent | dcbaeb57c4cbe58d17fd46b52fd23ae154458398 (diff) | |
download | scummvm-rg350-6c01edc57a221e5c376d23f12bb2f090c73c4ffd.tar.gz scummvm-rg350-6c01edc57a221e5c376d23f12bb2f090c73c4ffd.tar.bz2 scummvm-rg350-6c01edc57a221e5c376d23f12bb2f090c73c4ffd.zip |
CLOUD: Simplify OneDriveTokenRefresher
It now just extends CurlJsonRequest, not wraps one.
Diffstat (limited to 'backends/networking/curl')
-rw-r--r-- | backends/networking/curl/curljsonrequest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/networking/curl/curljsonrequest.h b/backends/networking/curl/curljsonrequest.h index 0a560f93f4..9bd12a13de 100644 --- a/backends/networking/curl/curljsonrequest.h +++ b/backends/networking/curl/curljsonrequest.h @@ -33,13 +33,13 @@ typedef Response<Common::JSONValue *> JsonResponse; typedef Common::BaseCallback<JsonResponse> *JsonCallback; class CurlJsonRequest: public CurlRequest { +protected: JsonCallback _jsonCallback; Common::MemoryWriteStreamDynamic _contentsStream; /** Prepares raw bytes from _contentsStream to be parsed with Common::JSON::parse(). */ char *getPreparedContents(); -protected: /** Sets FINISHED state and passes the JSONValue * into user's callback in JsonResponse. */ virtual void finishJson(Common::JSONValue *json); |