5 #include "IHttpCache.h"
9 #include "CacheModel.h"
10 #include "CacheModelSerializer.h"
11 #include "CachePruner.h"
26 Eegeo::Helpers::CacheSize_t maxCacheSizeBytes=(4294967296ULL));
32 virtual void RemoveFromCache(
const std::string& url);
34 virtual bool TryGetCachedHeaderInfo(
35 const std::string& url,
36 std::string& out_cachedETag,
37 std::string& out_cachedLastModified);
39 virtual void GetFileNameByUrl(std::string& name,
const std::string& url);
40 virtual void SetMaxCacheSize(Helpers::CacheSize_t size);
41 virtual void ClearCache();
42 virtual bool IsInCache(
const std::string& url);
43 virtual void FlushInMemoryCacheRepresentation(
bool prune);
44 virtual void ReloadCacheRepresentationFromStorage();
45 virtual bool LoadLocallyCachedData(
const std::string& url, std::vector<Byte>& out_buffer);
46 virtual bool GetEnabled();
47 virtual void SetEnabled(
bool enabled);
54 Eegeo::Helpers::CacheSize_t m_maxCacheSizeBytes;
58 static const std::string Manifest;