diff options
author | Linus Groh <mail@linusgroh.de> | 2022-10-04 23:45:28 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-05 09:14:49 +0100 |
commit | 886ca9c7b60173519c56fa0d2c09a3e383ec41d4 (patch) | |
tree | 807a1f9c36689fff6ca0dea64a4ea48400451f6a /Userland/Libraries/LibWeb/Fetch/Infrastructure | |
parent | 16d6c6219319e08b22d95ace4abb4d211cd934c3 (diff) | |
download | serenity-886ca9c7b60173519c56fa0d2c09a3e383ec41d4.zip |
LibWeb: Add missing Request::policy_container() getter and setter
Diffstat (limited to 'Userland/Libraries/LibWeb/Fetch/Infrastructure')
-rw-r--r-- | Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h b/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h index 3759712fe9..fc3ce4465c 100644 --- a/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h +++ b/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h @@ -208,6 +208,9 @@ public: [[nodiscard]] OriginType const& origin() const { return m_origin; } void set_origin(OriginType origin) { m_origin = move(origin); } + [[nodiscard]] PolicyContainerType const& policy_container() const { return m_policy_container; } + void set_policy_container(PolicyContainerType policy_container) { m_policy_container = move(policy_container); } + [[nodiscard]] Mode mode() const { return m_mode; } void set_mode(Mode mode) { m_mode = mode; } |