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

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

Issue 174523002: Reland "Move MemoryCache implementation details out of Resource" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 9 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/MemoryCacheTest.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 5695b90ea80f56f86f3df555ab77c38979786b9c..29a976dfbe72be7cd08290b968d2347ce0de8625 100644
--- a/Source/core/fetch/Resource.h
+++ b/Source/core/fetch/Resource.h
@@ -179,7 +179,6 @@ public:
void setCacheLiveResourcePriority(CacheLiveResourcePriority);
unsigned cacheLiveResourcePriority() const { return m_cacheLiveResourcePriority; }
- bool inLiveDecodedResourcesList() { return m_inLiveDecodedResourcesList; }
void clearLoader();
@@ -363,7 +362,6 @@ private:
unsigned m_preloadResult : 2; // PreloadResult
unsigned m_cacheLiveResourcePriority : 2; // CacheLiveResourcePriority
- unsigned m_inLiveDecodedResourcesList : 1;
unsigned m_requestedFromNetworkingLayer : 1;
unsigned m_inCache : 1;
@@ -380,15 +378,8 @@ private:
#ifndef NDEBUG
bool m_deleted;
- unsigned m_lruIndex;
#endif
- Resource* m_nextInAllResourcesList;
- Resource* m_prevInAllResourcesList;
-
- Resource* m_nextInLiveResourcesList;
- Resource* m_prevInLiveResourcesList;
-
// If this field is non-null we are using the resource as a proxy for checking whether an existing resource is still up to date
// using HTTP If-Modified-Since/If-None-Match headers. If the response is 304 all clients of this resource are moved
// to to be clients of m_resourceToRevalidate and the resource is deleted. If not, the field is zeroed and this
« no previous file with comments | « Source/core/fetch/MemoryCacheTest.cpp ('k') | Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698