Home
last modified time | relevance | path

Searched refs:ContentSecurityPolicy (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/frame/csp/
DContentSecurityPolicy.cpp71 const char ContentSecurityPolicy::ConnectSrc[] = "connect-src";
72 const char ContentSecurityPolicy::DefaultSrc[] = "default-src";
73 const char ContentSecurityPolicy::FontSrc[] = "font-src";
74 const char ContentSecurityPolicy::FrameSrc[] = "frame-src";
75 const char ContentSecurityPolicy::ImgSrc[] = "img-src";
76 const char ContentSecurityPolicy::MediaSrc[] = "media-src";
77 const char ContentSecurityPolicy::ObjectSrc[] = "object-src";
78 const char ContentSecurityPolicy::ReportURI[] = "report-uri";
79 const char ContentSecurityPolicy::Sandbox[] = "sandbox";
80 const char ContentSecurityPolicy::ScriptSrc[] = "script-src";
[all …]
DCSPDirectiveList.cpp17 CSPDirectiveList::CSPDirectiveList(ContentSecurityPolicy* policy, ContentSecurityPolicyHeaderType t… in CSPDirectiveList()
30 PassOwnPtr<CSPDirectiveList> CSPDirectiveList::create(ContentSecurityPolicy* policy, const UChar* b… in create()
142 …reportViolationWithState(directive->text(), ContentSecurityPolicy::ScriptSrc, consoleMessage + "\"… in checkEvalAndReportViolation()
159 reportViolation(directive->text(), ContentSecurityPolicy::PluginTypes, message + "\n", KURL()); in checkMediaTypeAndReportViolation()
178 …ationWithLocation(directive->text(), isScript ? ContentSecurityPolicy::ScriptSrc : ContentSecurity… in checkInlineAndReportViolation()
194 if (ContentSecurityPolicy::BaseURI == effectiveDirective) in checkSourceAndReportViolation()
196 else if (ContentSecurityPolicy::ChildSrc == effectiveDirective) in checkSourceAndReportViolation()
198 else if (ContentSecurityPolicy::ConnectSrc == effectiveDirective) in checkSourceAndReportViolation()
200 else if (ContentSecurityPolicy::FontSrc == effectiveDirective) in checkSourceAndReportViolation()
202 else if (ContentSecurityPolicy::FormAction == effectiveDirective) in checkSourceAndReportViolation()
[all …]
DCSPDirectiveList.h21 class ContentSecurityPolicy; variable
27 …static PassOwnPtr<CSPDirectiveList> create(ContentSecurityPolicy*, const UChar* begin, const UChar…
35 …(const String& contextURL, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::Reporting…
36 …(const String& contextURL, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::Reporting…
37 …(const String& contextURL, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::Reporting…
38 …(const String& contextURL, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::Reporting…
39 bool allowEval(ScriptState*, ContentSecurityPolicy::ReportingStatus) const;
40 …ype(const String& type, const String& typeAttribute, const KURL&, ContentSecurityPolicy::Reporting…
42 bool allowScriptFromSource(const KURL&, ContentSecurityPolicy::ReportingStatus) const;
43 bool allowObjectFromSource(const KURL&, ContentSecurityPolicy::ReportingStatus) const;
[all …]
DCSPDirective.h12 class ContentSecurityPolicy; variable
17 CSPDirective(const String& name, const String& value, ContentSecurityPolicy* policy) in CSPDirective()
27 ContentSecurityPolicy* policy() const { return m_policy; } in policy()
32 ContentSecurityPolicy* m_policy;
DContentSecurityPolicy.h62 class ContentSecurityPolicy : public RefCounted<ContentSecurityPolicy> {
92 static PassRefPtr<ContentSecurityPolicy> create() in create()
94 return adoptRef(new ContentSecurityPolicy()); in create()
96 ~ContentSecurityPolicy();
99 void copyStateFrom(const ContentSecurityPolicy*);
194 ContentSecurityPolicy();
DCSPSource.h12 class ContentSecurityPolicy; variable
22 …CSPSource(ContentSecurityPolicy*, const String& scheme, const String& host, int port, const String…
32 ContentSecurityPolicy* m_policy;
DCSPSourceList.h16 class ContentSecurityPolicy; variable
22 CSPSourceList(ContentSecurityPolicy*, const String& directiveName);
51 ContentSecurityPolicy* m_policy;
DMediaListDirective.h15 class ContentSecurityPolicy; variable
20 MediaListDirective(const String& name, const String& value, ContentSecurityPolicy*);
DSourceListDirective.h16 class ContentSecurityPolicy; variable
22 SourceListDirective(const String& name, const String& value, ContentSecurityPolicy*);
DSourceListDirective.cpp16 …ective::SourceListDirective(const String& name, const String& value, ContentSecurityPolicy* policy) in SourceListDirective()
DCSPSource.cpp16 CSPSource::CSPSource(ContentSecurityPolicy* policy, const String& scheme, const String& host, int p… in CSPSource()
DMediaListDirective.cpp16 …rective::MediaListDirective(const String& name, const String& value, ContentSecurityPolicy* policy) in MediaListDirective()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DSecurityContext.h37 class ContentSecurityPolicy; variable
43 ContentSecurityPolicy* contentSecurityPolicy() const { return m_contentSecurityPolicy.get(); } in contentSecurityPolicy()
56 void setContentSecurityPolicy(PassRefPtr<ContentSecurityPolicy>);
64 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy;
DSecurityContext.cpp50 void SecurityContext::setContentSecurityPolicy(PassRefPtr<ContentSecurityPolicy> contentSecurityPol… in setContentSecurityPolicy()
DExecutionContext.h71 ContentSecurityPolicy* contentSecurityPolicy();
DStyleElement.cpp157 const ContentSecurityPolicy* csp = document.contentSecurityPolicy(); in createSheet()
DExecutionContext.cpp226 ContentSecurityPolicy* ExecutionContext::contentSecurityPolicy() in contentSecurityPolicy()
/external/chromium_org/chrome/browser/extensions/
Dcontent_security_policy_apitest.cc9 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ContentSecurityPolicy) { in IN_PROC_BROWSER_TEST_F() argument
/external/chromium_org/third_party/WebKit/Source/core/loader/
DDocumentLoader.h131 …PassRefPtr<ContentSecurityPolicy> releaseContentSecurityPolicy() { return m_contentSecurityPolicy.… in releaseContentSecurityPolicy()
219 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy;
/external/chromium_org/third_party/WebKit/Source/core/workers/
DWorkerGlobalScope.cpp106 RefPtr<ContentSecurityPolicy> csp = ContentSecurityPolicy::create(); in applyContentSecurityPolicyFromString()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
DV8WorkerGlobalScopeCustom.cpp66 if (ContentSecurityPolicy* policy = workerGlobalScope->contentSecurityPolicy()) { in setTimeoutOrInterval()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DWindowProxy.cpp219 ContentSecurityPolicy* csp = m_frame->document()->contentSecurityPolicy(); in initialize()
220 … context->AllowCodeGenerationFromStrings(csp->allowEval(0, ContentSecurityPolicy::SuppressReport)); in initialize()
DV8Initializer.cpp175 if (ContentSecurityPolicy* policy = toDocument(executionContext)->contentSecurityPolicy()) in codeGenerationCheckCallbackInMainThread()
/external/chromium_org/third_party/WebKit/Source/modules/beacon/
DNavigatorBeacon.cpp55 …if (!ContentSecurityPolicy::shouldBypassMainWorld(context) && !context->contentSecurityPolicy()->a… in canSendBeacon()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DUseCounter.h72 ContentSecurityPolicy = 15, enumerator

12