summaryrefslogtreecommitdiff
path: root/include/mbgl/storage/online_file_source.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/storage/online_file_source.hpp')
-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;