mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 16:46:08 +00:00
LibCore: Convert CHttpJob to ObjectPtr
This commit is contained in:
parent
953cb4e436
commit
6b347747f2
Notes:
sideshowbarker
2024-07-19 12:02:33 +09:00
Author: https://github.com/awesomekling
Commit: 6b347747f2
8 changed files with 45 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue