LibHTTP+RequestServer: Mark a couple classes as final
This commit is contained in:
parent
367f73cd30
commit
0946d802bc
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue