1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:17:35 +00:00

LibWeb: Turn FrameLoader into a ResourceClient

We now use the new resource-based loader for the main resource in each
Frame. This gives us access to caching and sharing. :^)
This commit is contained in:
Andreas Kling 2020-06-06 13:38:08 +02:00
parent 52fcaae71c
commit de6028dfa7
3 changed files with 58 additions and 43 deletions

View file

@ -67,6 +67,8 @@ public:
const URL& url() const { return m_request.url(); }
const ByteBuffer& encoded_data() const { return m_encoded_data; }
const HashMap<String, String, CaseInsensitiveStringTraits>& response_headers() const { return m_response_headers; }
void register_client(Badge<ResourceClient>, ResourceClient&);
void unregister_client(Badge<ResourceClient>, ResourceClient&);