OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:originRestriction
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/fetch/
FetchRequest.h
42
enum
OriginRestriction
{ UseDefaultOriginRestrictionForType, RestrictToSameOrigin };
63
OriginRestriction
originRestriction
() const { return m_originRestriction; }
64
void setOriginRestriction(
OriginRestriction
restriction) { m_originRestriction = restriction; }
73
OriginRestriction
m_originRestriction;
ResourceFetcher.cpp
288
if (requestURL.isValid() && canRequest(Resource::Image, requestURL, request.options(), request.forPreload(), request.
originRestriction
()))
432
bool ResourceFetcher::canRequest(Resource::Type type, const KURL& url, const ResourceLoaderOptions& options, bool forPreload, FetchRequest::
OriginRestriction
originRestriction
)
465
if (
originRestriction
== FetchRequest::RestrictToSameOrigin && !securityOrigin->canRequest(url)) {
537
bool ResourceFetcher::canAccess(Resource* resource, CORSEnabled corsEnabled, FetchRequest::
OriginRestriction
originRestriction
)
540
if (!canRequest(resource->type(), resource->response().url(), resource->options(), false,
originRestriction
))
600
if (!canRequest(type, url, request.options(), request.forPreload(), request.
originRestriction
()))
[
all
...]
Completed in 87 milliseconds