OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:m_resourceToRevalidate
(Results
1 - 2
of
2
) sorted by null
/external/webkit/WebCore/loader/
CachedResource.cpp
61
,
m_resourceToRevalidate
(0)
92
ASSERT(!
m_resourceToRevalidate
); // Should be true because canDelete() checks this.
304
ASSERT(!
m_resourceToRevalidate
);
311
// So the code needs to be robust to this assert failing thus the "if (
m_resourceToRevalidate
->m_proxyResource == this)" in CachedResource::clearResourceToRevalidate.
315
m_resourceToRevalidate
= resource;
320
ASSERT(
m_resourceToRevalidate
);
322
if (
m_resourceToRevalidate
->m_proxyResource == this) {
323
m_resourceToRevalidate
->m_proxyResource = 0;
324
m_resourceToRevalidate
->deleteIfPossible();
327
m_resourceToRevalidate
= 0
[
all
...]
CachedResource.h
146
bool canDelete() const { return !hasClients() && !m_request && !m_preloadCount && !m_handleCount && !
m_resourceToRevalidate
&& !m_proxyResource; }
168
void registerHandle(CachedResourceHandleBase* h) { ++m_handleCount; if (
m_resourceToRevalidate
) m_handlesToRevalidate.add(h); }
169
void unregisterHandle(CachedResourceHandleBase* h) { ASSERT(m_handleCount > 0); --m_handleCount; if (
m_resourceToRevalidate
) m_handlesToRevalidate.remove(h); if (!m_handleCount) deleteIfPossible(); }
173
bool isCacheValidator() const { return
m_resourceToRevalidate
; }
174
CachedResource* resourceToRevalidate() const { return
m_resourceToRevalidate
; }
252
// to to be clients of
m_resourceToRevalidate
and the resource is deleted. If not, the field is zeroed and this
254
CachedResource*
m_resourceToRevalidate
;
256
// If this field is non-null, the resource has a proxy for checking whether it is still up to date (see
m_resourceToRevalidate
).
259
// These handles will need to be updated to point to the
m_resourceToRevalidate
in case we get 304 response.
Completed in 69 milliseconds