cachedResource 175 Source/core/css/CSSImageSetValue.cpp if (Resource* cachedResource = toStyleFetchedImageSet(m_imageSet)->cachedImage()) cachedResource 176 Source/core/css/CSSImageSetValue.cpp return cachedResource->loadFailedOrCanceled(); cachedResource 80 Source/core/css/CSSImageValue.cpp if (Resource* cachedResource = toStyleFetchedImage(m_image)->cachedImage()) cachedResource 81 Source/core/css/CSSImageValue.cpp return cachedResource->loadFailedOrCanceled(); cachedResource 125 Source/core/fetch/MemoryCacheTest.cpp ResourcePtr<FakeResource> cachedResource = cachedResource 127 Source/core/fetch/MemoryCacheTest.cpp cachedResource->fakeEncodedSize(resourceSize1); cachedResource 131 Source/core/fetch/MemoryCacheTest.cpp memoryCache()->add(cachedResource.get()); cachedResource 132 Source/core/fetch/MemoryCacheTest.cpp ASSERT_EQ(cachedResource->size(), memoryCache()->deadSize()); cachedResource 136 Source/core/fetch/MemoryCacheTest.cpp cachedResource->addClient(&client); cachedResource 138 Source/core/fetch/MemoryCacheTest.cpp ASSERT_EQ(cachedResource->size(), memoryCache()->liveSize()); cachedResource 140 Source/core/fetch/MemoryCacheTest.cpp cachedResource->fakeEncodedSize(resourceSize2); cachedResource 142 Source/core/fetch/MemoryCacheTest.cpp ASSERT_EQ(cachedResource->size(), memoryCache()->liveSize()); cachedResource 156 Source/core/fetch/MemoryCacheTest.cpp ResourcePtr<Resource> cachedResource = cachedResource 159 Source/core/fetch/MemoryCacheTest.cpp cachedResource->appendData(data, 3); cachedResource 162 Source/core/fetch/MemoryCacheTest.cpp ASSERT_GT(cachedResource->size(), 0u); cachedResource 167 Source/core/fetch/MemoryCacheTest.cpp memoryCache()->add(cachedResource.get()); cachedResource 168 Source/core/fetch/MemoryCacheTest.cpp ASSERT_EQ(cachedResource->size(), memoryCache()->deadSize()); cachedResource 101 Source/core/fetch/ResourceFetcher.h Resource* cachedResource(const KURL&) const; cachedResource 63 Source/core/fetch/ResourceLoader.h Resource* cachedResource() { return m_resource; } cachedResource 944 Source/core/html/parser/HTMLDocumentParser.cpp void HTMLDocumentParser::notifyFinished(Resource* cachedResource) cachedResource 957 Source/core/html/parser/HTMLDocumentParser.cpp m_scriptRunner->executeScriptsWaitingForLoad(cachedResource); cachedResource 480 Source/core/inspector/InspectorCSSAgent.cpp Resource* cachedResource = document->fetcher()->cachedResource(document->completeURL(url)); cachedResource 481 Source/core/inspector/InspectorCSSAgent.cpp if (cachedResource) cachedResource 118 Source/core/inspector/InspectorInstrumentation.cpp void willDestroyResourceImpl(Resource* cachedResource) cachedResource 126 Source/core/inspector/InspectorInstrumentation.cpp inspectorResourceAgent->willDestroyResource(cachedResource); cachedResource 134 Source/core/inspector/InspectorPageAgent.cpp static bool prepareResourceBuffer(Resource* cachedResource, bool* hasZeroSize) cachedResource 137 Source/core/inspector/InspectorPageAgent.cpp if (!cachedResource) cachedResource 140 Source/core/inspector/InspectorPageAgent.cpp if (cachedResource->dataBufferingPolicy() == DoNotBufferData) cachedResource 144 Source/core/inspector/InspectorPageAgent.cpp if (!cachedResource->encodedSize()) { cachedResource 149 Source/core/inspector/InspectorPageAgent.cpp if (cachedResource->isPurgeable()) { cachedResource 156 Source/core/inspector/InspectorPageAgent.cpp if (!cachedResource->lock()) cachedResource 163 Source/core/inspector/InspectorPageAgent.cpp static bool hasTextContent(Resource* cachedResource) cachedResource 165 Source/core/inspector/InspectorPageAgent.cpp InspectorPageAgent::ResourceType type = InspectorPageAgent::cachedResourceType(*cachedResource); cachedResource 183 Source/core/inspector/InspectorPageAgent.cpp bool InspectorPageAgent::cachedResourceContent(Resource* cachedResource, String* result, bool* base64Encoded) cachedResource 186 Source/core/inspector/InspectorPageAgent.cpp bool prepared = prepareResourceBuffer(cachedResource, &hasZeroSize); cachedResource 190 Source/core/inspector/InspectorPageAgent.cpp *base64Encoded = !hasTextContent(cachedResource); cachedResource 192 Source/core/inspector/InspectorPageAgent.cpp RefPtr<SharedBuffer> buffer = hasZeroSize ? SharedBuffer::create() : cachedResource->resourceBuffer(); cachedResource 206 Source/core/inspector/InspectorPageAgent.cpp if (cachedResource) { cachedResource 207 Source/core/inspector/InspectorPageAgent.cpp switch (cachedResource->type()) { cachedResource 209 Source/core/inspector/InspectorPageAgent.cpp *result = toCSSStyleSheetResource(cachedResource)->sheetText(false); cachedResource 212 Source/core/inspector/InspectorPageAgent.cpp *result = toScriptResource(cachedResource)->script(); cachedResource 217 Source/core/inspector/InspectorPageAgent.cpp SharedBuffer* buffer = cachedResource->resourceBuffer(); cachedResource 220 Source/core/inspector/InspectorPageAgent.cpp OwnPtr<TextResourceDecoder> decoder = createXHRTextDecoder(cachedResource->response().mimeType(), cachedResource->response().textEncodingName()); cachedResource 226 Source/core/inspector/InspectorPageAgent.cpp SharedBuffer* buffer = cachedResource->resourceBuffer(); cachedResource 227 Source/core/inspector/InspectorPageAgent.cpp return decodeBuffer(buffer ? buffer->data() : 0, buffer ? buffer->size() : 0, cachedResource->response().textEncodingName(), result); cachedResource 260 Source/core/inspector/InspectorPageAgent.cpp if (!cachedResourceContent(cachedResource(frame, url), result, base64Encoded)) cachedResource 266 Source/core/inspector/InspectorPageAgent.cpp Resource* cachedResource = frame->document()->fetcher()->cachedResource(url); cachedResource 267 Source/core/inspector/InspectorPageAgent.cpp if (!cachedResource) cachedResource 268 Source/core/inspector/InspectorPageAgent.cpp cachedResource = memoryCache()->resourceForURL(url); cachedResource 269 Source/core/inspector/InspectorPageAgent.cpp return cachedResource; cachedResource 295 Source/core/inspector/InspectorPageAgent.cpp InspectorPageAgent::ResourceType InspectorPageAgent::cachedResourceType(const Resource& cachedResource) cachedResource 297 Source/core/inspector/InspectorPageAgent.cpp switch (cachedResource.type()) { cachedResource 320 Source/core/inspector/InspectorPageAgent.cpp TypeBuilder::Page::ResourceType::Enum InspectorPageAgent::cachedResourceTypeJson(const Resource& cachedResource) cachedResource 322 Source/core/inspector/InspectorPageAgent.cpp return resourceTypeJson(cachedResourceType(cachedResource)); cachedResource 520 Source/core/inspector/InspectorPageAgent.cpp Resource* cachedResource = it->value.get(); cachedResource 522 Source/core/inspector/InspectorPageAgent.cpp switch (cachedResource->type()) { cachedResource 525 Source/core/inspector/InspectorPageAgent.cpp if (toImageResource(cachedResource)->stillNeedsLoad()) cachedResource 530 Source/core/inspector/InspectorPageAgent.cpp if (toFontResource(cachedResource)->stillNeedsLoad()) cachedResource 538 Source/core/inspector/InspectorPageAgent.cpp result.append(cachedResource); cachedResource 631 Source/core/inspector/InspectorPageAgent.cpp static bool textContentForResource(Resource* cachedResource, String* result) cachedResource 633 Source/core/inspector/InspectorPageAgent.cpp if (hasTextContent(cachedResource)) { cachedResource 636 Source/core/inspector/InspectorPageAgent.cpp if (InspectorPageAgent::cachedResourceContent(cachedResource, result, &base64Encoded)) { cachedResource 661 Source/core/inspector/InspectorPageAgent.cpp Resource* resource = cachedResource(frame, kurl); cachedResource 954 Source/core/inspector/InspectorPageAgent.cpp Resource* resource = cachedResource(frame, KURL(ParsedURLString, url)); cachedResource 1099 Source/core/inspector/InspectorPageAgent.cpp Resource* cachedResource = *it; cachedResource 1102 Source/core/inspector/InspectorPageAgent.cpp .setUrl(urlWithoutFragment(cachedResource->url()).string()) cachedResource 1103 Source/core/inspector/InspectorPageAgent.cpp .setType(cachedResourceTypeJson(*cachedResource)) cachedResource 1104 Source/core/inspector/InspectorPageAgent.cpp .setMimeType(cachedResource->response().mimeType()); cachedResource 1105 Source/core/inspector/InspectorPageAgent.cpp if (cachedResource->wasCanceled()) cachedResource 1107 Source/core/inspector/InspectorPageAgent.cpp else if (cachedResource->status() == Resource::LoadError) cachedResource 87 Source/core/inspector/InspectorPageAgent.h static Resource* cachedResource(LocalFrame*, const KURL&); cachedResource 349 Source/core/inspector/InspectorResourceAgent.cpp Resource* cachedResource = 0; cachedResource 351 Source/core/inspector/InspectorResourceAgent.cpp cachedResource = resourceLoader->cachedResource(); cachedResource 352 Source/core/inspector/InspectorResourceAgent.cpp if (!cachedResource || cachedResource->type() == Resource::MainResource) cachedResource 353 Source/core/inspector/InspectorResourceAgent.cpp cachedResource = InspectorPageAgent::cachedResource(loader->frame(), response.url()); cachedResource 355 Source/core/inspector/InspectorResourceAgent.cpp if (cachedResource) { cachedResource 358 Source/core/inspector/InspectorResourceAgent.cpp resourceResponse->setString(TypeBuilder::Network::Response::MimeType, cachedResource->response().mimeType()); cachedResource 359 Source/core/inspector/InspectorResourceAgent.cpp m_resourcesData->addResource(requestId, cachedResource); cachedResource 362 Source/core/inspector/InspectorResourceAgent.cpp InspectorPageAgent::ResourceType type = cachedResource ? InspectorPageAgent::cachedResourceType(*cachedResource) : InspectorPageAgent::OtherResource; cachedResource 375 Source/core/inspector/InspectorResourceAgent.cpp if (isNotModified && cachedResource && cachedResource->encodedSize()) cachedResource 376 Source/core/inspector/InspectorResourceAgent.cpp didReceiveData(frame, identifier, 0, cachedResource->encodedSize(), 0); cachedResource 390 Source/core/inspector/InspectorResourceAgent.cpp if (resourceData && (!resourceData->cachedResource() || resourceData->cachedResource()->dataBufferingPolicy() == DoNotBufferData || isErrorStatusCode(resourceData->httpStatusCode()))) cachedResource 469 Source/core/inspector/InspectorResourceAgent.cpp void InspectorResourceAgent::willDestroyResource(Resource* cachedResource) cachedResource 471 Source/core/inspector/InspectorResourceAgent.cpp Vector<String> requestIds = m_resourcesData->removeResource(cachedResource); cachedResource 477 Source/core/inspector/InspectorResourceAgent.cpp if (!InspectorPageAgent::cachedResourceContent(cachedResource, &content, &base64Encoded)) cachedResource 658 Source/core/inspector/InspectorResourceAgent.cpp if (resourceData->cachedResource()) { cachedResource 659 Source/core/inspector/InspectorResourceAgent.cpp if (InspectorPageAgent::cachedResourceContent(resourceData->cachedResource(), content, base64Encoded)) cachedResource 682 Source/core/inspector/InspectorResourceAgent.cpp Resource* cachedResource = memoryCache()->resourceForURL(xhrReplayData->url()); cachedResource 683 Source/core/inspector/InspectorResourceAgent.cpp if (cachedResource) cachedResource 684 Source/core/inspector/InspectorResourceAgent.cpp memoryCache()->remove(cachedResource); cachedResource 791 Source/core/inspector/InspectorResourceAgent.cpp Resource* cachedResource = frame->document()->fetcher()->cachedResource(url); cachedResource 792 Source/core/inspector/InspectorResourceAgent.cpp if (!cachedResource) cachedResource 793 Source/core/inspector/InspectorResourceAgent.cpp cachedResource = memoryCache()->resourceForURL(url); cachedResource 794 Source/core/inspector/InspectorResourceAgent.cpp if (cachedResource && InspectorPageAgent::cachedResourceContent(cachedResource, content, base64Encoded)) cachedResource 255 Source/core/inspector/NetworkResourcesData.cpp void NetworkResourcesData::addResource(const String& requestId, Resource* cachedResource) cachedResource 260 Source/core/inspector/NetworkResourcesData.cpp resourceData->setResource(cachedResource); cachedResource 325 Source/core/inspector/NetworkResourcesData.cpp Vector<String> NetworkResourcesData::removeResource(Resource* cachedResource) cachedResource 332 Source/core/inspector/NetworkResourcesData.cpp if (resourceData->cachedResource() == cachedResource) { cachedResource 120 Source/core/inspector/NetworkResourcesData.h Resource* cachedResource() const { return m_cachedResource; } cachedResource 121 Source/core/inspector/NetworkResourcesData.h void setResource(Resource* cachedResource) { m_cachedResource = cachedResource; } cachedResource 648 Source/core/loader/DocumentLoader.cpp bool DocumentLoader::scheduleArchiveLoad(Resource* cachedResource, const ResourceRequest& request) cachedResource 656 Source/core/loader/DocumentLoader.cpp cachedResource->error(Resource::LoadError); cachedResource 660 Source/core/loader/DocumentLoader.cpp cachedResource->setLoading(true); cachedResource 661 Source/core/loader/DocumentLoader.cpp cachedResource->responseReceived(archiveResource->response()); cachedResource 664 Source/core/loader/DocumentLoader.cpp cachedResource->appendData(data->data(), data->size()); cachedResource 665 Source/core/loader/DocumentLoader.cpp cachedResource->finish();