Searched refs:newResource (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
D | RawResourceTest.cpp | 72 ResourcePtr<Resource> newResource = newResourcePointer; in TEST() local 75 memoryCache()->add(newResource.get()); in TEST() 83 newResource->responseReceived(response); in TEST() 85 EXPECT_EQ(oldResource.get(), newResource.get()); in TEST() 86 EXPECT_NE(newResource.get(), newResourcePointer); in TEST()
|
D | ResourceOwner.h | 81 inline void ResourceOwner<R, C>::setResource(const ResourcePtr<R>& newResource) in setResource() argument 83 if (newResource == m_resource) in setResource() 93 if (newResource) { in setResource() 94 m_resource = newResource; in setResource()
|
D | MemoryCache.cpp | 121 void MemoryCache::replace(Resource* newResource, Resource* oldResource) in replace() argument 124 ASSERT(!m_resources.get(newResource->url())); in replace() 125 m_resources.set(newResource->url(), newResource); in replace() 126 newResource->setInCache(true); in replace() 127 insertInLRUList(newResource); in replace() 128 int delta = newResource->size(); in replace() 129 if (newResource->decodedSize() && newResource->hasClients()) in replace() 130 insertInLiveDecodedResourcesList(newResource); in replace() 132 adjustSize(newResource->hasClients(), delta); in replace()
|
D | ResourceFetcher.cpp | 783 …ResourcePtr<Resource> newResource = createResource(resource->type(), revalidatingRequest, resource… in revalidateResource() local 785 WTF_LOG(ResourceLoading, "Resource %p created to revalidate %p", newResource.get(), resource); in revalidateResource() 786 newResource->setResourceToRevalidate(resource); in revalidateResource() 789 memoryCache()->add(newResource.get()); in revalidateResource() 790 storeResourceTimingInitiatorInformation(newResource, request); in revalidateResource() 791 …_ASYNC_BEGIN2("net", "Resource", newResource.get(), "url", newResource->url().string().ascii(), "p… in revalidateResource() 792 return newResource; in revalidateResource()
|
D | MemoryCache.h | 113 void replace(Resource* newResource, Resource* oldResource);
|