aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/cloud/storage.h')
-rw-r--r--backends/cloud/storage.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/cloud/storage.h b/backends/cloud/storage.h
index b1c62ba05b..1276b81827 100644
--- a/backends/cloud/storage.h
+++ b/backends/cloud/storage.h
@@ -28,9 +28,10 @@
#include "backends/networking/curl/request.h"
#include "backends/networking/curl/curlrequest.h"
#include "common/array.h"
+#include "common/callback.h"
+#include "common/mutex.h"
#include "common/stream.h"
#include "common/str.h"
-#include "common/callback.h"
namespace Cloud {
@@ -51,6 +52,7 @@ public:
protected:
/** Keeps track of running requests. */
uint32 _runningRequestsCount;
+ Common::Mutex _runningRequestsMutex;
/** Returns default error callback (printErrorResponse). */
virtual Networking::ErrorCallback getErrorPrintingCallback();