1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:47:34 +00:00

LibCore: Convert CHttpJob to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 12:03:22 +02:00
parent 953cb4e436
commit 6b347747f2
8 changed files with 45 additions and 13 deletions

View file

@ -2,6 +2,7 @@
#include <AK/String.h>
#include <AK/URL.h>
#include <LibCore/ObjectPtr.h>
class CNetworkJob;
@ -26,7 +27,7 @@ public:
String method_name() const;
ByteBuffer to_raw_request() const;
CNetworkJob* schedule();
ObjectPtr<CNetworkJob> schedule();
private:
URL m_url;