OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:contentSecurityPolicy
(Results
1 - 25
of
42
) sorted by null
1
2
/external/chromium_org/third_party/WebKit/Source/core/dom/
SecurityContext.cpp
30
#include "core/frame/
ContentSecurityPolicy
.h"
50
void SecurityContext::setContentSecurityPolicy(PassOwnPtr<
ContentSecurityPolicy
>
contentSecurityPolicy
)
52
m_contentSecurityPolicy =
contentSecurityPolicy
;
SecurityContext.h
37
class
ContentSecurityPolicy
;
43
ContentSecurityPolicy
*
contentSecurityPolicy
() { return m_contentSecurityPolicy.get(); }
56
void setContentSecurityPolicy(PassOwnPtr<
ContentSecurityPolicy
>);
64
OwnPtr<
ContentSecurityPolicy
> m_contentSecurityPolicy;
StyleElement.cpp
32
#include "core/frame/
ContentSecurityPolicy
.h"
131
bool passesContentSecurityPolicyChecks = document.
contentSecurityPolicy
()->allowStyleNonce(e->fastGetAttribute(HTMLNames::nonceAttr)) || document.
contentSecurityPolicy
()->allowInlineStyle(e->document().url(), m_startPosition.m_line);
ExecutionContext.h
73
ContentSecurityPolicy
*
contentSecurityPolicy
() const;
ScriptLoader.cpp
44
#include "core/frame/
ContentSecurityPolicy
.h"
273
bool isValidScriptNonce = elementDocument->
contentSecurityPolicy
()->allowScriptNonce(m_element->fastGetAttribute(HTMLNames::nonceAttr));
312
bool shouldBypassMainWorldContentSecurityPolicy = (frame && frame->script().shouldBypassMainWorldContentSecurityPolicy()) || elementDocument->
contentSecurityPolicy
()->allowScriptNonce(m_element->fastGetAttribute(HTMLNames::nonceAttr)) || elementDocument->
contentSecurityPolicy
()->allowScriptHash(sourceCode.source());
314
if (!m_isExternalScript && (!shouldBypassMainWorldContentSecurityPolicy && !elementDocument->
contentSecurityPolicy
()->allowInlineScript(elementDocument->url(), m_startLineNumber)))
ExecutionContext.cpp
235
ContentSecurityPolicy
* ExecutionContext::
contentSecurityPolicy
() const
238
return m_client->securityContext().
contentSecurityPolicy
();
/external/chromium_org/third_party/WebKit/Source/core/workers/
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())
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>);
AbstractWorker.cpp
37
#include "core/frame/
ContentSecurityPolicy
.h"
66
if (executionContext()->
contentSecurityPolicy
() && !executionContext()->
contentSecurityPolicy
()->allowScriptFromSource(scriptURL)) {
WorkerGlobalScope.h
36
#include "core/frame/
ContentSecurityPolicy
.h"
141
using SecurityContext::
contentSecurityPolicy
;
145
void applyContentSecurityPolicyFromString(const String&
contentSecurityPolicy
,
ContentSecurityPolicy
::HeaderType);
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
());
WorkerMessagingProxy.cpp
36
#include "core/frame/
ContentSecurityPolicy
.h"
114
OwnPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode, startMode, document->
contentSecurityPolicy
()->deprecatedHeader(), document->
contentSecurityPolicy
()->deprecatedHeaderType(), m_workerClients.release());
/external/chromium_org/third_party/WebKit/Source/core/frame/
ContentSecurityPolicyResponseHeaders.h
40
const String&
contentSecurityPolicy
() const { return m_contentSecurityPolicy; }
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
...]
/external/chromium_org/third_party/WebKit/public/web/
WebSharedWorkerConnector.h
57
const WebString&
contentSecurityPolicy
,
/external/chromium_org/third_party/WebKit/Source/core/xml/
XSLTProcessor.cpp
30
#include "core/frame/
ContentSecurityPolicy
.h"
88
result->
contentSecurityPolicy
()->copyStateFrom(oldDocument->
contentSecurityPolicy
());
/external/chromium_org/third_party/WebKit/Source/web/
SharedWorkerRepositoryClientImpl.cpp
46
#include "core/frame/
ContentSecurityPolicy
.h"
132
m_webWorkerConnector->startWorkerContext(m_url, m_name, m_worker->executionContext()->userAgent(m_url), m_scriptLoader->script(), m_worker->executionContext()->
contentSecurityPolicy
()->deprecatedHeader(), static_cast<blink::WebContentSecurityPolicyType>(m_worker->executionContext()->
contentSecurityPolicy
()->deprecatedHeaderType()), m_responseAppCacheID);
WebSharedWorkerImpl.h
93
virtual void startWorkerContext(const WebURL&, const WebString& name, const WebString& userAgent, const WebString& sourceCode, const WebString&
contentSecurityPolicy
, WebContentSecurityPolicyType, long long cacheId);
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());
/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/core/html/
HTMLAppletElement.cpp
32
#include "core/frame/
ContentSecurityPolicy
.h"
224
if (!document().
contentSecurityPolicy
()->allowObjectFromSource(url)
225
|| !document().
contentSecurityPolicy
()->allowPluginType(appletMimeType, appletMimeType, url)) {
HTMLPlugInElement.cpp
34
#include "core/frame/
ContentSecurityPolicy
.h"
506
if (!document().
contentSecurityPolicy
()->allowObjectFromSource(url)
507
|| !document().
contentSecurityPolicy
()->allowPluginType(mimeType, declaredMimeType, url)) {
HTMLTrackElement.cpp
33
#include "core/frame/
ContentSecurityPolicy
.h"
205
if (!document().
contentSecurityPolicy
()->allowMediaFromSource(url)) {
/external/chromium_org/third_party/WebKit/Source/core/fetch/
ResourceFetcher.cpp
55
#include "core/frame/
ContentSecurityPolicy
.h"
483
if (!shouldBypassMainWorldContentSecurityPolicy && !m_document->
contentSecurityPolicy
()->allowScriptFromSource(url))
488
if (!shouldBypassMainWorldContentSecurityPolicy && !m_document->
contentSecurityPolicy
()->allowScriptFromSource(url))
502
if (!shouldBypassMainWorldContentSecurityPolicy && !m_document->
contentSecurityPolicy
()->allowStyleFromSource(url))
507
if (!shouldBypassMainWorldContentSecurityPolicy && !m_document->
contentSecurityPolicy
()->allowImageFromSource(url))
511
if (!shouldBypassMainWorldContentSecurityPolicy && !m_document->
contentSecurityPolicy
()->allowFontFromSource(url))
521
if (!shouldBypassMainWorldContentSecurityPolicy && !m_document->
contentSecurityPolicy
()->allowMediaFromSource(url))
[
all
...]
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
V8Initializer.cpp
47
#include "core/frame/
ContentSecurityPolicy
.h"
147
if (
ContentSecurityPolicy
* policy = toDocument(executionContext)->
contentSecurityPolicy
())
Completed in 421 milliseconds
1
2