aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/googledrive/googledriveuploadrequest.cpp
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/googledriveuploadrequest.cpp
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/googledriveuploadrequest.cpp')
-rw-r--r--backends/cloud/googledrive/googledriveuploadrequest.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/cloud/googledrive/googledriveuploadrequest.cpp b/backends/cloud/googledrive/googledriveuploadrequest.cpp
index dfff46c0d2..b63e989df8 100644
--- a/backends/cloud/googledrive/googledriveuploadrequest.cpp
+++ b/backends/cloud/googledrive/googledriveuploadrequest.cpp
@@ -28,7 +28,6 @@
#include "backends/networking/curl/curljsonrequest.h"
#include "backends/networking/curl/networkreadstream.h"
#include "common/json.h"
-#include "common/debug.h"
#include "googledrivetokenrefresher.h"
namespace Cloud {
@@ -201,7 +200,6 @@ void GoogleDriveUploadRequest::uploadNextPart() {
uint32 size = _contentsStream->read(buffer, UPLOAD_PER_ONE_REQUEST);
if (size != 0) request->setBuffer(buffer, size);
- //request->addHeader(Common::String::format("Content-Length: %u", size));
if (_uploadUrl != "") {
if (_contentsStream->pos() == 0)
request->addHeader(Common::String::format("Content-Length: 0"));