summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHuyen Chau Nguyen <hello@chau-nguyen.de>2018-10-17 20:15:08 +0200
committerHuyen Chau Nguyen <hello@chau-nguyen.de>2018-10-23 12:47:10 +0200
commitfa78bcadfddb2c1179d929e4a2abcc1b1dd758c6 (patch)
treef22c92a9fd5051a57753b2a8d26d0bf51ba79d10 /include
parent40693e00a897a9ab2fa7b15fce21041990745b4b (diff)
downloadqtlocation-mapboxgl-fa78bcadfddb2c1179d929e4a2abcc1b1dd758c6.tar.gz
[core] add tests for handling requests with different priorities
- ensure that low priority requests are handled last - add option to set the number of maximum concurrent requests for tests - some style fixups
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/storage/online_file_source.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/storage/online_file_source.hpp b/include/mbgl/storage/online_file_source.hpp
index 28d70ce544..b921413490 100644
--- a/include/mbgl/storage/online_file_source.hpp
+++ b/include/mbgl/storage/online_file_source.hpp
@@ -26,6 +26,7 @@ public:
// For testing only.
void setOnlineStatus(bool);
+ void setMaximumConcurrentRequestsOverride(uint32_t);
private:
friend class OnlineFileRequest;