LibHTTP+RequestServer: Mark a couple classes as final

This commit is contained in:
Timothy Flynn 2025-12-12 12:21:52 -05:00 committed by Andreas Kling
parent 367f73cd30
commit 0946d802bc
2 changed files with 3 additions and 3 deletions

View file

@ -83,7 +83,7 @@ protected:
bool m_marked_for_deletion { false };
};
class CacheEntryWriter : public CacheEntry {
class CacheEntryWriter final : public CacheEntry {
public:
static ErrorOr<NonnullOwnPtr<CacheEntryWriter>> create(DiskCache&, CacheIndex&, u64 cache_key, String url, UnixDateTime request_time, AK::Duration current_time_offset_for_testing);
virtual ~CacheEntryWriter() override = default;
@ -103,7 +103,7 @@ private:
AK::Duration m_current_time_offset_for_testing;
};
class CacheEntryReader : public CacheEntry {
class CacheEntryReader final : public CacheEntry {
public:
static ErrorOr<NonnullOwnPtr<CacheEntryReader>> create(DiskCache&, CacheIndex&, u64 cache_key, NonnullRefPtr<HeaderList>, u64 data_size);
virtual ~CacheEntryReader() override = default;

View file

@ -26,7 +26,7 @@ struct curl_slist;
namespace RequestServer {
class Request : public HTTP::CacheRequest {
class Request final : public HTTP::CacheRequest {
public:
static NonnullOwnPtr<Request> fetch(
u64 request_id,