summaryrefslogtreecommitdiff
path: root/include/mbgl/storage/online_file_source.hpp
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-22 15:02:53 +0200
commiteedf8cfc7ea4861326b18229cca2ca24d4183ad1 (patch)
tree6b049eb3a761be1ae6211e20dcb83f964247469e /include/mbgl/storage/online_file_source.hpp
parentdddef19fc2900d6a35bb4288fa34b303a7d8edb6 (diff)
downloadqtlocation-mapboxgl-upstream/deprioritize_offline_downloads.tar.gz
[core] add tests for handling requests with different prioritiesupstream/deprioritize_offline_downloads
- 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/mbgl/storage/online_file_source.hpp')
-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;