summaryrefslogtreecommitdiff
path: root/include/mbgl
diff options
context:
space:
mode:
authorHuyen Chau Nguyen <hello@chau-nguyen.de>2018-10-31 09:50:13 +0100
committerAsheem Mamoowala <asheem.mamoowala@mapbox.com>2018-11-15 12:19:48 -0800
commit9a606caf0b33d5dba33e33ce3fb59724e1849eb1 (patch)
treec37a39c05f185ea4cd20275b538afdf34e892f2d /include/mbgl
parente25111dba7b3d9c5d09437feb85404e6eabb9875 (diff)
downloadqtlocation-mapboxgl-9a606caf0b33d5dba33e33ce3fb59724e1849eb1.tar.gz
[core] define number of concurrent downloads in online file source variable
Diffstat (limited to 'include/mbgl')
-rw-r--r--include/mbgl/storage/online_file_source.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mbgl/storage/online_file_source.hpp b/include/mbgl/storage/online_file_source.hpp
index b921413490..b2e9b43e5d 100644
--- a/include/mbgl/storage/online_file_source.hpp
+++ b/include/mbgl/storage/online_file_source.hpp
@@ -24,9 +24,11 @@ public:
std::unique_ptr<AsyncRequest> request(const Resource&, Callback) override;
+ void setMaximumConcurrentRequests(uint32_t);
+ uint32_t getMaximumConcurrentRequests() const;
+
// For testing only.
void setOnlineStatus(bool);
- void setMaximumConcurrentRequestsOverride(uint32_t);
private:
friend class OnlineFileRequest;