Home
last modified time | relevance | path

Searched refs:sourceOrigin (Results 1 – 8 of 8) 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.cpp79 const WebURL& sourceOrigin, in addOriginAccessWhitelistEntry() argument
85 *SecurityOrigin::create(sourceOrigin), destinationProtocol, in addOriginAccessWhitelistEntry()
90 const WebURL& sourceOrigin, in removeOriginAccessWhitelistEntry() argument
96 *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/
DResourceLoaderHost.h70 virtual bool canAccessResource(Resource*, SecurityOrigin* sourceOrigin, const KURL&) const = 0;
DResourceFetcher.cpp585 bool ResourceFetcher::canAccessResource(Resource* resource, SecurityOrigin* sourceOrigin, const KUR… in canAccessResource() argument
591 if (!sourceOrigin && document()) in canAccessResource()
592 sourceOrigin = document()->securityOrigin(); in canAccessResource()
594 if (sourceOrigin->canRequest(url)) in canAccessResource()
598 if (!resource->passesAccessControlCheck(sourceOrigin, errorDescription)) { in canAccessResource()
1387 SecurityOrigin* sourceOrigin = options.securityOrigin.get(); in canAccessRedirect() local
1388 if (!sourceOrigin && document()) in canAccessRedirect()
1389 sourceOrigin = document()->securityOrigin(); in canAccessRedirect()
1392 …if (!CrossOriginAccessControl::handleRedirect(resource, sourceOrigin, request, redirectResponse, o… in canAccessRedirect()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DLocalDOMWindow.cpp122 …dow& window, PassRefPtr<SerializedScriptValue> message, const String& sourceOrigin, PassRefPtrWill… in PostMessageTimer() argument
126 , m_origin(sourceOrigin) in PostMessageTimer()
838 String sourceOrigin = sourceDocument->securityOrigin()->toString(); in postMessage() local
851 …OwnPtr<PostMessageTimer> timer = adoptPtr(new PostMessageTimer(*this, message, sourceOrigin, sourc… in postMessage()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DContentViewCore.java1245 String sourceOrigin, String targetOrigin) {
1247 nativePostMessageToFrame(mNativeContentViewCore, frameName, message, sourceOrigin,
3053 String message, String sourceOrigin, String targetOrigin);