Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(850)

Unified Diff: Source/core/fetch/Resource.h

Issue 232993004: Reland "Allow cache reuse of some requests with Cache-Control headers" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/fetch/CachingCorrectnessTest.cpp ('k') | Source/core/fetch/Resource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/Resource.h
diff --git a/Source/core/fetch/Resource.h b/Source/core/fetch/Resource.h
index d98da4b264e74ff14b611bebacc6edde631d89db..aac20806912746aade46c3ba0003929916a0f497 100644
--- a/Source/core/fetch/Resource.h
+++ b/Source/core/fetch/Resource.h
@@ -212,12 +212,13 @@ public:
void registerHandle(ResourcePtrBase* h);
void unregisterHandle(ResourcePtrBase* h);
- bool canReuseRedirectChain() const;
- bool mustRevalidateDueToCacheHeaders() const;
- bool canUseCacheValidator() const;
+ bool canReuseRedirectChain();
+ bool mustRevalidateDueToCacheHeaders();
+ bool canUseCacheValidator();
bool isCacheValidator() const { return m_resourceToRevalidate; }
Resource* resourceToRevalidate() const { return m_resourceToRevalidate; }
void setResourceToRevalidate(Resource*);
+ bool hasCacheControlNoStoreHeader();
bool isPurgeable() const;
bool wasPurged() const;
@@ -307,8 +308,8 @@ protected:
{
}
- const ResourceRequest m_request;
- const ResourceResponse m_redirectResponse;
+ ResourceRequest m_request;
+ ResourceResponse m_redirectResponse;
};
const Vector<RedirectPair>& redirectChain() const { return m_redirectChain; }
« no previous file with comments | « Source/core/fetch/CachingCorrectnessTest.cpp ('k') | Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698