mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-16 23:31:55 +00:00
LibWeb: Add the Web::URL namespace and move URLEncoder to it
This namespace will be used for all interfaces defined in the URL specification, like URL and URLSearchParams. This has the unfortunate side-effect of requiring us to use the fully qualified AK::URL name whenever we want to refer to the AK class, so this commit also fixes all such references.
This commit is contained in:
parent
2b78e227f2
commit
4629f2e4ad
Notes:
sideshowbarker
2024-07-18 04:04:04 +09:00
Author: https://github.com/IdanHo
Commit: 4629f2e4ad
Pull-request: https://github.com/SerenityOS/serenity/pull/10010
54 changed files with 236 additions and 225 deletions
|
@ -16,14 +16,14 @@ class Script : public RefCounted<Script> {
|
|||
public:
|
||||
virtual ~Script();
|
||||
|
||||
URL const& base_url() const { return m_base_url; }
|
||||
AK::URL const& base_url() const { return m_base_url; }
|
||||
String const& filename() const { return m_filename; }
|
||||
|
||||
protected:
|
||||
Script(URL base_url, String filename);
|
||||
Script(AK::URL base_url, String filename);
|
||||
|
||||
private:
|
||||
URL m_base_url;
|
||||
AK::URL m_base_url;
|
||||
String m_filename;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue