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

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: Created 6 years, 10 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
Index: Source/core/fetch/Resource.h
diff --git a/Source/core/fetch/Resource.h b/Source/core/fetch/Resource.h
index 89ddd36aeb1349f09cff6c919dc257caa73ba911..ed2a99a9fa554ea27f4415122c144a0364d711e0 100644
--- a/Source/core/fetch/Resource.h
+++ b/Source/core/fetch/Resource.h
@@ -180,7 +180,6 @@ public:
void setCacheLiveResourcePriority(CacheLiveResourcePriority);
unsigned cacheLiveResourcePriority() const { return m_cacheLiveResourcePriority; }
- bool inLiveDecodedResourcesList() { return m_inLiveDecodedResourcesList; }
void clearLoader();
@@ -365,7 +364,6 @@ private:
unsigned m_preloadResult : 2; // PreloadResult
unsigned m_cacheLiveResourcePriority : 2; // CacheLiveResourcePriority
- unsigned m_inLiveDecodedResourcesList : 1;
unsigned m_requestedFromNetworkingLayer : 1;
unsigned m_inCache : 1;
@@ -382,15 +380,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

Powered by Google App Engine
This is Rietveld 408576698