1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:57:44 +00:00

ProtocolServer: Put everything in the ProtocolServer namespace

This commit is contained in:
Andreas Kling 2020-05-17 16:33:09 +02:00
parent 2949c3e5e1
commit a4902e0eec
21 changed files with 158 additions and 56 deletions

View file

@ -31,15 +31,17 @@
#include <LibHTTP/HttpsJob.h>
#include <ProtocolServer/Download.h>
class HttpsProtocol;
namespace ProtocolServer {
class HttpsDownload final : public Download {
public:
virtual ~HttpsDownload() override;
static NonnullOwnPtr<HttpsDownload> create_with_job(Badge<HttpsProtocol>, PSClientConnection&, NonnullRefPtr<HTTP::HttpsJob>);
static NonnullOwnPtr<HttpsDownload> create_with_job(Badge<HttpsProtocol>, ClientConnection&, NonnullRefPtr<HTTP::HttpsJob>);
private:
explicit HttpsDownload(PSClientConnection&, NonnullRefPtr<HTTP::HttpsJob>);
explicit HttpsDownload(ClientConnection&, NonnullRefPtr<HTTP::HttpsJob>);
NonnullRefPtr<HTTP::HttpsJob> m_job;
};
}