/external/chromium_org/third_party/WebKit/Source/core/frame/csp/ |
D | ContentSecurityPolicy.cpp | 71 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 …]
|
D | CSPDirectiveList.cpp | 17 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 …]
|
D | CSPDirectiveList.h | 21 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 …]
|
D | CSPDirective.h | 12 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;
|
D | ContentSecurityPolicy.h | 62 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();
|
D | CSPSource.h | 12 class ContentSecurityPolicy; variable 22 …CSPSource(ContentSecurityPolicy*, const String& scheme, const String& host, int port, const String… 32 ContentSecurityPolicy* m_policy;
|
D | CSPSourceList.h | 16 class ContentSecurityPolicy; variable 22 CSPSourceList(ContentSecurityPolicy*, const String& directiveName); 51 ContentSecurityPolicy* m_policy;
|
D | MediaListDirective.h | 15 class ContentSecurityPolicy; variable 20 MediaListDirective(const String& name, const String& value, ContentSecurityPolicy*);
|
D | SourceListDirective.h | 16 class ContentSecurityPolicy; variable 22 SourceListDirective(const String& name, const String& value, ContentSecurityPolicy*);
|
D | SourceListDirective.cpp | 16 …ective::SourceListDirective(const String& name, const String& value, ContentSecurityPolicy* policy) in SourceListDirective()
|
D | CSPSource.cpp | 16 CSPSource::CSPSource(ContentSecurityPolicy* policy, const String& scheme, const String& host, int p… in CSPSource()
|
D | MediaListDirective.cpp | 16 …rective::MediaListDirective(const String& name, const String& value, ContentSecurityPolicy* policy) in MediaListDirective()
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | SecurityContext.h | 37 class ContentSecurityPolicy; variable 43 ContentSecurityPolicy* contentSecurityPolicy() const { return m_contentSecurityPolicy.get(); } in contentSecurityPolicy() 56 void setContentSecurityPolicy(PassRefPtr<ContentSecurityPolicy>); 64 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy;
|
D | SecurityContext.cpp | 50 void SecurityContext::setContentSecurityPolicy(PassRefPtr<ContentSecurityPolicy> contentSecurityPol… in setContentSecurityPolicy()
|
D | ExecutionContext.h | 71 ContentSecurityPolicy* contentSecurityPolicy();
|
D | StyleElement.cpp | 157 const ContentSecurityPolicy* csp = document.contentSecurityPolicy(); in createSheet()
|
D | ExecutionContext.cpp | 226 ContentSecurityPolicy* ExecutionContext::contentSecurityPolicy() in contentSecurityPolicy()
|
/external/chromium_org/chrome/browser/extensions/ |
D | content_security_policy_apitest.cc | 9 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ContentSecurityPolicy) { in IN_PROC_BROWSER_TEST_F() argument
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | DocumentLoader.h | 131 …PassRefPtr<ContentSecurityPolicy> releaseContentSecurityPolicy() { return m_contentSecurityPolicy.… in releaseContentSecurityPolicy() 219 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy;
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
D | WorkerGlobalScope.cpp | 106 RefPtr<ContentSecurityPolicy> csp = ContentSecurityPolicy::create(); in applyContentSecurityPolicyFromString()
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/ |
D | V8WorkerGlobalScopeCustom.cpp | 66 if (ContentSecurityPolicy* policy = workerGlobalScope->contentSecurityPolicy()) { in setTimeoutOrInterval()
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
D | WindowProxy.cpp | 219 ContentSecurityPolicy* csp = m_frame->document()->contentSecurityPolicy(); in initialize() 220 … context->AllowCodeGenerationFromStrings(csp->allowEval(0, ContentSecurityPolicy::SuppressReport)); in initialize()
|
D | V8Initializer.cpp | 175 if (ContentSecurityPolicy* policy = toDocument(executionContext)->contentSecurityPolicy()) in codeGenerationCheckCallbackInMainThread()
|
/external/chromium_org/third_party/WebKit/Source/modules/beacon/ |
D | NavigatorBeacon.cpp | 55 …if (!ContentSecurityPolicy::shouldBypassMainWorld(context) && !context->contentSecurityPolicy()->a… in canSendBeacon()
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | UseCounter.h | 72 ContentSecurityPolicy = 15, enumerator
|