summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-01-13 16:55:44 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-01-14 13:46:03 -0800
commit0066637e58ab47c7c1c9dcec123ff850ae33f8fc (patch)
tree7217384d6b51a05add8724aa93420a429f37f105 /src
parent1c887ff728d85d75f77556452386a5ef70eee94f (diff)
downloadqtlocation-mapboxgl-0066637e58ab47c7c1c9dcec123ff850ae33f8fc.tar.gz
[core] Let SQLiteCache decide when store or refresh responses
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/storage/sqlite_cache.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/storage/sqlite_cache.hpp b/src/mbgl/storage/sqlite_cache.hpp
index 76e7aed440..94eeee3d46 100644
--- a/src/mbgl/storage/sqlite_cache.hpp
+++ b/src/mbgl/storage/sqlite_cache.hpp
@@ -26,11 +26,10 @@ public:
void setMaximumCacheSize(uint64_t size);
void setMaximumCacheEntrySize(uint64_t size);
- enum class Hint : bool { Full, Refresh };
using Callback = std::function<void(std::unique_ptr<Response>)>;
std::unique_ptr<WorkRequest> get(const Resource&, Callback);
- void put(const Resource&, const Response&, Hint hint);
+ void put(const Resource&, const Response&);
class Impl;