Lines Matching refs:resourceRequest
88 #include "platform/network/ResourceRequest.h"
144 ResourceRequest initialRequest(KURL(ParsedURLString, emptyString()));
618 void FrameLoader::setReferrerForFrameRequest(ResourceRequest& request, ShouldSendReferrer shouldSendReferrer, Document* originDocument)
656 if (request.resourceRequest().cachePolicy() == ReloadIgnoringCacheData)
658 if (request.resourceRequest().cachePolicy() == ReloadBypassingCache)
662 if (!request.originDocument() && request.resourceRequest().url() == m_documentLoader->urlForHistory())
671 request.resourceRequest().setFrameType(m_frame->isMainFrame() ? WebURLRequest::FrameTypeTopLevel : WebURLRequest::FrameTypeNested);
677 KURL url = request.resourceRequest().url();
689 setReferrerForFrameRequest(request.resourceRequest(), request.shouldSendReferrer(), request.originDocument());
746 NavigationAction action(request.resourceRequest(), newLoadType, request.formState(), request.triggeringEvent());
747 if (action.resourceRequest().requestContext() == WebURLRequest::RequestContextUnspecified)
751 client()->loadURLExternally(action.resourceRequest(), NavigationPolicyDownload);
757 const KURL& url = request.resourceRequest().url();
758 if (!action.shouldOpenInNewWindow() && shouldPerformFragmentNavigation(request.formState(), request.resourceRequest().httpMethod(), newLoadType, url)) {
770 if (sameURL && newLoadType != FrameLoadTypeReload && newLoadType != FrameLoadTypeReloadFromOrigin && request.resourceRequest().httpMethod() != "POST")
794 ResourceRequest FrameLoader::requestFromHistoryItem(HistoryItem* item, ResourceRequestCachePolicy cachePolicy)
797 ResourceRequest request(item->url(), item->referrer());
815 ResourceRequest request = requestFromHistoryItem(m_currentItem.get(), cachePolicy);
1286 const ResourceRequest& request = action.resourceRequest();
1356 void FrameLoader::applyUserAgent(ResourceRequest& request)
1449 ResourceRequest request = requestFromHistoryItem(item, cachePolicy);