1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00

AK: Move Stream and SeekableStream from LibCore

`Stream` will be qualified as `AK::Stream` until we remove the
`Core::Stream` namespace. `IODevice` now reuses the `SeekMode` that is
defined by `SeekableStream`, since defining its own would require us to
qualify it with `AK::SeekMode` everywhere.
This commit is contained in:
Tim Schumacher 2023-01-22 05:09:11 +01:00 committed by Andrew Kaster
parent 5f2ea31816
commit 8464da1439
Notes: sideshowbarker 2024-07-17 06:28:38 +09:00
96 changed files with 620 additions and 586 deletions

View file

@ -52,7 +52,7 @@ public:
}
protected:
NetworkJob(Core::Stream::Stream&);
NetworkJob(AK::Stream&);
void did_finish(NonnullRefPtr<NetworkResponse>&&);
void did_fail(Error);
void did_progress(Optional<u32> total_size, u32 downloaded);
@ -61,7 +61,7 @@ protected:
private:
RefPtr<NetworkResponse> m_response;
Core::Stream::Stream& m_output_stream;
AK::Stream& m_output_stream;
Error m_error { Error::None };
};