summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/execution_context/security_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/execution_context/security_context.h')
-rw-r--r--chromium/third_party/blink/renderer/core/execution_context/security_context.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/chromium/third_party/blink/renderer/core/execution_context/security_context.h b/chromium/third_party/blink/renderer/core/execution_context/security_context.h
index f3621b043d1..af54ce73ac2 100644
--- a/chromium/third_party/blink/renderer/core/execution_context/security_context.h
+++ b/chromium/third_party/blink/renderer/core/execution_context/security_context.h
@@ -47,7 +47,6 @@
namespace blink {
-class Agent;
class ContentSecurityPolicy;
class FeaturePolicy;
class PolicyValue;
@@ -82,7 +81,7 @@ class CORE_EXPORT SecurityContext {
SecurityContext(const SecurityContextInit&, SecurityContextType context_type);
virtual ~SecurityContext() = default;
- void Trace(Visitor*);
+ void Trace(Visitor*) const;
using InsecureNavigationsSet = HashSet<unsigned, WTF::AlreadyHashed>;
static WTF::Vector<unsigned> SerializeInsecureNavigationSet(
@@ -175,8 +174,6 @@ class CORE_EXPORT SecurityContext {
FeatureStatus IsFeatureEnabled(mojom::blink::DocumentPolicyFeature,
PolicyValue threshold_value) const;
- Agent* GetAgent() const { return agent_; }
-
OriginTrialContext* GetOriginTrialContext() const {
return origin_trial_context_;
}
@@ -191,8 +188,6 @@ class CORE_EXPORT SecurityContext {
secure_context_mode_ = mode;
}
- bool BindCSPImmediately() const { return bind_csp_immediately_; }
-
protected:
network::mojom::blink::WebSandboxFlags sandbox_flags_;
scoped_refptr<SecurityOrigin> security_origin_;
@@ -209,10 +204,8 @@ class CORE_EXPORT SecurityContext {
InsecureNavigationsSet insecure_navigations_to_upgrade_;
bool require_safe_types_;
const SecurityContextType context_type_for_asserts_;
- Member<Agent> agent_;
SecureContextMode secure_context_mode_;
Member<OriginTrialContext> origin_trial_context_;
- bool bind_csp_immediately_ = false;
DISALLOW_COPY_AND_ASSIGN(SecurityContext);
};