Lines Matching refs:mainResource
975 ArchiveResource* mainResource = archive->mainResource();
976 ASSERT(mainResource);
977 if (!mainResource)
980 SubstituteData substituteData(mainResource->data(), mainResource->mimeType(), mainResource->textEncoding(), KURL());
982 ResourceRequest request(mainResource->url());
2318 ArchiveResource* mainResource = archive->mainResource();
2319 loader->setParsedArchiveData(mainResource->data());
2321 loader->writer()->setMIMEType(mainResource->mimeType());
2324 didOpenURL(mainResource->url());
2329 loader->writer()->setEncoding(encodingIsUserChosen ? userChosenEncoding : mainResource->textEncoding(), encodingIsUserChosen);
2330 loader->writer()->addData(mainResource->data()->data(), mainResource->data()->size());
2699 void FrameLoader::addExtraFieldsToRequest(ResourceRequest& request, FrameLoadType loadType, bool mainResource, bool cookiePolicyURLFromRequest)
2704 if (mainResource && (isLoadingMainFrame() || cookiePolicyURLFromRequest))
2723 if (!mainResource) {
2744 if (mainResource)