From a4902e0eec7fff0d58f57ff987c51460ac02783e Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 17 May 2020 16:33:09 +0200 Subject: ProtocolServer: Put everything in the ProtocolServer namespace --- Services/ProtocolServer/Download.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Services/ProtocolServer/Download.h') diff --git a/Services/ProtocolServer/Download.h b/Services/ProtocolServer/Download.h index 08b0605e03..9bc3c7a5f7 100644 --- a/Services/ProtocolServer/Download.h +++ b/Services/ProtocolServer/Download.h @@ -31,8 +31,9 @@ #include #include #include +#include -class PSClientConnection; +namespace ProtocolServer { class Download { public: @@ -49,7 +50,7 @@ public: void stop(); protected: - explicit Download(PSClientConnection&); + explicit Download(ClientConnection&); void did_finish(bool success); void did_progress(Optional total_size, u32 downloaded_size); @@ -57,7 +58,7 @@ protected: void set_response_headers(const HashMap&); private: - PSClientConnection& m_client; + ClientConnection& m_client; i32 m_id { 0 }; URL m_url; Optional m_total_size {}; @@ -65,3 +66,5 @@ private: ByteBuffer m_payload; HashMap m_response_headers; }; + +} -- cgit v1.2.3