Home
last modified time | relevance | path

Searched refs:sourceOrigin (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
DSecurityPolicy.cpp113 void SecurityPolicy::addOriginAccessWhitelistEntry(const SecurityOrigin& sourceOrigin, const String… in addOriginAccessWhitelistEntry() argument
116 ASSERT(!sourceOrigin.isUnique()); in addOriginAccessWhitelistEntry()
117 if (sourceOrigin.isUnique()) in addOriginAccessWhitelistEntry()
120 String sourceString = sourceOrigin.toString(); in addOriginAccessWhitelistEntry()
129 void SecurityPolicy::removeOriginAccessWhitelistEntry(const SecurityOrigin& sourceOrigin, const Str… in removeOriginAccessWhitelistEntry() argument
132 ASSERT(!sourceOrigin.isUnique()); in removeOriginAccessWhitelistEntry()
133 if (sourceOrigin.isUnique()) in removeOriginAccessWhitelistEntry()
136 String sourceString = sourceOrigin.toString(); in removeOriginAccessWhitelistEntry()
DSecurityPolicy.h53 …static void addOriginAccessWhitelistEntry(const SecurityOrigin& sourceOrigin, const String& destin…
54 …static void removeOriginAccessWhitelistEntry(const SecurityOrigin& sourceOrigin, const String& des…
/external/chromium_org/third_party/WebKit/Source/web/
DWebSecurityPolicy.cpp81 const WebURL& sourceOrigin, in addOriginAccessWhitelistEntry() argument
87 *SecurityOrigin::create(sourceOrigin), destinationProtocol, in addOriginAccessWhitelistEntry()
92 const WebURL& sourceOrigin, in removeOriginAccessWhitelistEntry() argument
98 *SecurityOrigin::create(sourceOrigin), destinationProtocol, in removeOriginAccessWhitelistEntry()
/external/chromium_org/third_party/WebKit/public/web/
DWebSecurityPolicy.h76 const WebURL& sourceOrigin, const WebString& destinationProtocol,
79 const WebURL& sourceOrigin, const WebString& destinationProtocol,
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DResourceFetcher.cpp602 bool ResourceFetcher::canAccessResource(Resource* resource, SecurityOrigin* sourceOrigin, const KUR… in canAccessResource() argument
608 if (!sourceOrigin && document()) in canAccessResource()
609 sourceOrigin = document()->securityOrigin(); in canAccessResource()
611 if (sourceOrigin->canRequest(url)) in canAccessResource()
615 if (!resource->passesAccessControlCheck(sourceOrigin, errorDescription)) { in canAccessResource()
1364 SecurityOrigin* sourceOrigin = options.securityOrigin.get(); in canAccessRedirect() local
1365 if (!sourceOrigin && document()) in canAccessRedirect()
1366 sourceOrigin = document()->securityOrigin(); in canAccessRedirect()
1369 …if (!CrossOriginAccessControl::handleRedirect(resource, sourceOrigin, request, redirectResponse, o… in canAccessRedirect()
DResourceLoaderHost.h70 virtual bool canAccessResource(Resource*, SecurityOrigin* sourceOrigin, const KURL&) const = 0;
/external/chromium_org/third_party/WebKit/Source/core/frame/
DLocalDOMWindow.cpp118 …dow& window, PassRefPtr<SerializedScriptValue> message, const String& sourceOrigin, PassRefPtrWill… in PostMessageTimer() argument
122 , m_origin(sourceOrigin) in PostMessageTimer()
857 String sourceOrigin = sourceDocument->securityOrigin()->toString(); in postMessage() local
870 …OwnPtr<PostMessageTimer> timer = adoptPtr(new PostMessageTimer(*this, message, sourceOrigin, sourc… in postMessage()