/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | InspectorPageAgent.cpp | 131 static bool prepareResourceBuffer(Resource* cachedResource, bool* hasZeroSize) in prepareResourceBuffer() argument 134 if (!cachedResource) in prepareResourceBuffer() 137 if (cachedResource->dataBufferingPolicy() == DoNotBufferData) in prepareResourceBuffer() 141 if (!cachedResource->encodedSize()) { in prepareResourceBuffer() 146 if (cachedResource->isPurgeable()) { in prepareResourceBuffer() 153 if (!cachedResource->lock()) in prepareResourceBuffer() 160 static bool hasTextContent(Resource* cachedResource) in hasTextContent() argument 162 InspectorPageAgent::ResourceType type = InspectorPageAgent::cachedResourceType(*cachedResource); in hasTextContent() 180 bool InspectorPageAgent::cachedResourceContent(Resource* cachedResource, String* result, bool* base… in cachedResourceContent() argument 183 bool prepared = prepareResourceBuffer(cachedResource, &hasZeroSize); in cachedResourceContent() [all …]
|
D | InspectorResourceAgent.cpp | 364 Resource* cachedResource = 0; in didReceiveResourceResponse() local 366 cachedResource = resourceLoader->cachedResource(); in didReceiveResourceResponse() 367 if (!cachedResource || cachedResource->type() == Resource::MainResource) in didReceiveResourceResponse() 368 cachedResource = InspectorPageAgent::cachedResource(loader->frame(), response.url()); in didReceiveResourceResponse() 370 if (cachedResource) { in didReceiveResourceResponse() 373 …resourceResponse->setString(TypeBuilder::Network::Response::MimeType, cachedResource->response().m… in didReceiveResourceResponse() 374 m_resourcesData->addResource(requestId, cachedResource); in didReceiveResourceResponse() 377 …InspectorPageAgent::ResourceType type = cachedResource ? InspectorPageAgent::cachedResourceType(*c… in didReceiveResourceResponse() 392 if (isNotModified && cachedResource && cachedResource->encodedSize()) in didReceiveResourceResponse() 393 didReceiveData(frame, identifier, 0, cachedResource->encodedSize(), 0); in didReceiveResourceResponse() [all …]
|
D | NetworkResourcesData.cpp | 255 void NetworkResourcesData::addResource(const String& requestId, Resource* cachedResource) in addResource() argument 260 resourceData->setResource(cachedResource); in addResource() 304 Vector<String> NetworkResourcesData::removeResource(Resource* cachedResource) in removeResource() argument 311 if (resourceData->cachedResource() == cachedResource) { in removeResource()
|
D | NetworkResourcesData.h | 120 Resource* cachedResource() const { return m_cachedResource; } in cachedResource() function 121 void setResource(Resource* cachedResource) { m_cachedResource = cachedResource; } in setResource() argument
|
D | InspectorInstrumentation.cpp | 118 void willDestroyResourceImpl(Resource* cachedResource) in willDestroyResourceImpl() argument 126 inspectorResourceAgent->willDestroyResource(cachedResource); in willDestroyResourceImpl()
|
D | InspectorPageAgent.h | 92 static Resource* cachedResource(LocalFrame*, const KURL&);
|
D | InspectorInstrumentation.idl | 356 void willDestroyResource(Resource* cachedResource);
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
D | MemoryCacheTest.cpp | 125 ResourcePtr<FakeResource> cachedResource = in TEST_F() local 127 cachedResource->fakeEncodedSize(resourceSize1); in TEST_F() 131 memoryCache()->add(cachedResource.get()); in TEST_F() 132 ASSERT_EQ(cachedResource->size(), memoryCache()->deadSize()); in TEST_F() 136 cachedResource->addClient(&client); in TEST_F() 138 ASSERT_EQ(cachedResource->size(), memoryCache()->liveSize()); in TEST_F() 140 cachedResource->fakeEncodedSize(resourceSize2); in TEST_F() 142 ASSERT_EQ(cachedResource->size(), memoryCache()->liveSize()); in TEST_F() 156 Resource* cachedResource = in TEST_F() local 159 cachedResource->appendData(data, 3); in TEST_F() [all …]
|
D | ResourceLoader.h | 63 Resource* cachedResource() { return m_resource; } in cachedResource() function
|
D | ResourceFetcher.h | 105 Resource* cachedResource(const KURL&) const;
|
D | ResourceFetcher.cpp | 247 Resource* ResourceFetcher::cachedResource(const KURL& resourceURL) const in cachedResource() function in WebCore::ResourceFetcher 1007 if (type == Resource::Image && existingResource == cachedResource(request.url())) in determineRevalidationPolicy()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSImageValue.cpp | 81 if (document.fetcher()->cachedResource(KURL(ParsedURLString, m_absoluteURL))) in restoreCachedResourceIfNeeded() 96 if (Resource* cachedResource = toStyleFetchedImage(m_image)->cachedImage()) in hasFailedOrCanceledSubresources() local 97 return cachedResource->loadFailedOrCanceled(); in hasFailedOrCanceledSubresources()
|
D | CSSImageSetValue.cpp | 177 if (Resource* cachedResource = toStyleFetchedImageSet(m_imageSet)->cachedImage()) in hasFailedOrCanceledSubresources() local 178 return cachedResource->loadFailedOrCanceled(); in hasFailedOrCanceledSubresources()
|
D | CSSFontFaceSrcValue.cpp | 122 if (document->fetcher()->cachedResource(KURL(ParsedURLString, resourceURL))) in restoreCachedResourceIfNeeded()
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | DocumentLoader.cpp | 648 bool DocumentLoader::scheduleArchiveLoad(Resource* cachedResource, const ResourceRequest& request) in scheduleArchiveLoad() argument 656 cachedResource->error(Resource::LoadError); in scheduleArchiveLoad() 660 cachedResource->setLoading(true); in scheduleArchiveLoad() 661 cachedResource->responseReceived(archiveResource->response()); in scheduleArchiveLoad() 664 cachedResource->appendData(data->data(), data->size()); in scheduleArchiveLoad() 665 cachedResource->finish(); in scheduleArchiveLoad()
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
D | HTMLScriptRunner.cpp | 190 void HTMLScriptRunner::notifyFinished(Resource* cachedResource) in notifyFinished() argument 192 m_host->notifyScriptLoaded(cachedResource); in notifyFinished()
|
D | HTMLDocumentParser.cpp | 971 void HTMLDocumentParser::notifyScriptLoaded(Resource* cachedResource) in notifyScriptLoaded() argument 984 m_scriptRunner->executeScriptsWaitingForLoad(cachedResource); in notifyScriptLoaded()
|