HomeSort by relevance Sort by last modified time
    Searched refs:ContentSecurityPolicy (Results 1 - 25 of 30) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/frame/
DOMSecurityPolicy.cpp 31 #include "core/frame/ContentSecurityPolicy.h"
44 return context->contentSecurityPolicy()->isActive();
47 template<bool (ContentSecurityPolicy::*allowWithType)(const String&, const String&, const KURL&, ContentSecurityPolicy::ReportingStatus) const>
53 return (context->contentSecurityPolicy()->*allowWithType)(type, type, KURL(), ContentSecurityPolicy::SuppressReport);
56 template<bool (ContentSecurityPolicy::*allowWithURL)(const KURL&, ContentSecurityPolicy::ReportingStatus) const>
66 return (context->contentSecurityPolicy()->*allowWithURL)(parsedURL, ContentSecurityPolicy::SuppressReport)
    [all...]
ContentSecurityPolicy.cpp 27 #include "core/frame/ContentSecurityPolicy.h"
175 UseCounter::Feature getUseCounterType(ContentSecurityPolicy::HeaderType type)
178 case ContentSecurityPolicy::Enforce:
179 return UseCounter::ContentSecurityPolicy;
180 case ContentSecurityPolicy::Report:
207 CSPSource(ContentSecurityPolicy* policy, const String& scheme, const String& host, int port, const String& path, bool hostHasWildcard, bool portHasWildcard)
282 ContentSecurityPolicy* m_policy;
294 CSPSourceList(ContentSecurityPolicy*, const String& directiveName);
312 bool parseHash(const UChar* begin, const UChar* end, Vector<uint8_t>& hash, ContentSecurityPolicy::HashAlgorithms&);
319 void addSourceHash(const ContentSecurityPolicy::HashAlgorithms&, const Vector<uint8_t>& hash)
    [all...]
ContentSecurityPolicy.h 55 class ContentSecurityPolicy {
58 static PassOwnPtr<ContentSecurityPolicy> create(ExecutionContextClient* client)
60 return adoptPtr(new ContentSecurityPolicy(client));
62 ~ContentSecurityPolicy();
64 void copyStateFrom(const ContentSecurityPolicy*);
149 explicit ContentSecurityPolicy(ExecutionContextClient*);
DOMSecurityPolicy.h 36 class ContentSecurityPolicy;
UseCounter.h 77 ContentSecurityPolicy,
  /external/chromium_org/third_party/WebKit/Source/core/dom/
SecurityContext.h 37 class ContentSecurityPolicy;
43 ContentSecurityPolicy* contentSecurityPolicy() { return m_contentSecurityPolicy.get(); }
56 void setContentSecurityPolicy(PassOwnPtr<ContentSecurityPolicy>);
64 OwnPtr<ContentSecurityPolicy> m_contentSecurityPolicy;
SecurityContext.cpp 30 #include "core/frame/ContentSecurityPolicy.h"
50 void SecurityContext::setContentSecurityPolicy(PassOwnPtr<ContentSecurityPolicy> contentSecurityPolicy)
52 m_contentSecurityPolicy = contentSecurityPolicy;
ExecutionContext.h 73 ContentSecurityPolicy* contentSecurityPolicy() const;
ExecutionContext.cpp 235 ContentSecurityPolicy* ExecutionContext::contentSecurityPolicy() const
238 return m_client->securityContext().contentSecurityPolicy();
Document.cpp 114 #include "core/frame/ContentSecurityPolicy.h"
    [all...]
  /external/chromium_org/chrome/browser/extensions/
content_security_policy_apitest.cc 9 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ContentSecurityPolicy) {
  /external/chromium_org/third_party/WebKit/Source/core/workers/
WorkerThreadStartupData.h 34 #include "core/frame/ContentSecurityPolicy.h"
48 static PassOwnPtr<WorkerThreadStartupData> create(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, PassOwnPtr<WorkerClients> workerClients)
50 return adoptPtr(new WorkerThreadStartupData(scriptURL, userAgent, sourceCode, startMode, contentSecurityPolicy, contentSecurityPolicyType, workerClients));
60 ContentSecurityPolicy::HeaderType m_contentSecurityPolicyType;
64 WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, PassOwnPtr<WorkerClients>);
WorkerThreadStartupData.cpp 37 WorkerThreadStartupData::WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, PassOwnPtr<WorkerClients> workerClients)
42 , m_contentSecurityPolicy(contentSecurityPolicy.isolatedCopy())
WorkerGlobalScope.cpp 109 void WorkerGlobalScope::applyContentSecurityPolicyFromString(const String& policy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType)
111 setContentSecurityPolicy(ContentSecurityPolicy::create(this));
112 contentSecurityPolicy()->didReceiveHeader(policy, contentSecurityPolicyType);
200 ASSERT(contentSecurityPolicy());
WorkerGlobalScope.h 36 #include "core/frame/ContentSecurityPolicy.h"
141 using SecurityContext::contentSecurityPolicy;
145 void applyContentSecurityPolicyFromString(const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType);
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8WorkerGlobalScopeCustom.cpp 41 #include "core/frame/ContentSecurityPolicy.h"
67 if (ContentSecurityPolicy* policy = workerGlobalScope->contentSecurityPolicy()) {
  /external/chromium_org/third_party/WebKit/Source/web/
WebEmbeddedWorkerImpl.cpp 239 ContentSecurityPolicy::Enforce,
WebSharedWorkerImpl.cpp 253 void WebSharedWorkerImpl::startWorkerContext(const WebURL& url, const WebString& name, const WebString& userAgent, const WebString& sourceCode, const WebString& contentSecurityPolicy, WebContentSecurityPolicyType policyType, long long)
263 OwnPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(url, userAgent, sourceCode, startMode, contentSecurityPolicy, static_cast<WebCore::ContentSecurityPolicy::HeaderType>(policyType), workerClients.release());
AssertMatchingEnums.cpp 64 #include "core/frame/ContentSecurityPolicy.h"
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
V8WindowShell.cpp 53 #include "core/frame/ContentSecurityPolicy.h"
235 ContentSecurityPolicy* csp = m_frame->document()->contentSecurityPolicy();
236 context->AllowCodeGenerationFromStrings(csp->allowEval(0, ContentSecurityPolicy::SuppressReport));
V8Initializer.cpp 47 #include "core/frame/ContentSecurityPolicy.h"
147 if (ContentSecurityPolicy* policy = toDocument(executionContext)->contentSecurityPolicy())
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorCSSAgent.h 33 #include "core/frame/ContentSecurityPolicy.h"
84 : m_contentSecurityPolicy(context->contentSecurityPolicy())
95 ContentSecurityPolicy* m_contentSecurityPolicy;
  /external/chromium_org/third_party/WebKit/Source/core/page/
EventSource.cpp 46 #include "core/frame/ContentSecurityPolicy.h"
94 if (!shouldBypassMainWorldContentSecurityPolicy && !context->contentSecurityPolicy()->allowConnectToSource(fullURL)) {
146 options.contentSecurityPolicyEnforcement = ContentSecurityPolicy::shouldBypassMainWorld(executionContext()) ? DoNotEnforceContentSecurityPolicy : EnforceConnectSrcDirective;
  /external/chromium_org/third_party/WebKit/Source/core/xml/
XMLHttpRequest.cpp 39 #include "core/frame/ContentSecurityPolicy.h"
546 if (!ContentSecurityPolicy::shouldBypassMainWorld(executionContext()) && !executionContext()->contentSecurityPolicy()->allowConnectToSource(url)) {
829 options.contentSecurityPolicyEnforcement = ContentSecurityPolicy::shouldBypassMainWorld(executionContext()) ? DoNotEnforceContentSecurityPolicy : EnforceConnectSrcDirective;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/
webcore_remaining.target.darwin-arm.mk 405 third_party/WebKit/Source/core/frame/ContentSecurityPolicy.cpp \
    [all...]

Completed in 318 milliseconds

1 2