summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Fetch/Infrastructure
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-10-04 23:45:28 +0100
committerLinus Groh <mail@linusgroh.de>2022-10-05 09:14:49 +0100
commit886ca9c7b60173519c56fa0d2c09a3e383ec41d4 (patch)
tree807a1f9c36689fff6ca0dea64a4ea48400451f6a /Userland/Libraries/LibWeb/Fetch/Infrastructure
parent16d6c6219319e08b22d95ace4abb4d211cd934c3 (diff)
downloadserenity-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.h3
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; }