aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/cache/structuredcache.h')
-rw-r--r--zenserver/cache/structuredcache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/zenserver/cache/structuredcache.h b/zenserver/cache/structuredcache.h
index 761bf3399..63d0a0d52 100644
--- a/zenserver/cache/structuredcache.h
+++ b/zenserver/cache/structuredcache.h
@@ -11,6 +11,7 @@
namespace zen {
class CloudCacheClient;
+class CidStore;
/**
* New-style cache service. Imposes constraints on keys, supports blobs and
@@ -27,7 +28,7 @@ class CloudCacheClient;
class HttpStructuredCacheService : public zen::HttpService
{
public:
- HttpStructuredCacheService(std::filesystem::path RootPath, zen::CasStore& InStore);
+ HttpStructuredCacheService(std::filesystem::path RootPath, zen::CasStore& InStore, zen::CidStore& InCidStore);
~HttpStructuredCacheService();
virtual const char* BaseUri() const override;
@@ -47,6 +48,7 @@ private:
void HandleCachePayloadRequest(zen::HttpServerRequest& Request, CacheRef& Ref);
zen::CasStore& m_CasStore;
+ zen::CidStore& m_CidStore;
ZenCacheStore m_CacheStore;
RefPtr<CloudCacheClient> m_Cloud;
};