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:
parent
5f2ea31816
commit
8464da1439
Notes:
sideshowbarker
2024-07-17 06:28:38 +09:00
Author: https://github.com/timschumi
Commit: 8464da1439
Pull-request: https://github.com/SerenityOS/serenity/pull/17173
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/alimpfard
96 changed files with 620 additions and 586 deletions
|
@ -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 };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue