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

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

Issue 660723002: MemoryCache: Remove ENABLE(ASSERT) checks for readability (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | Source/core/fetch/MemoryCache.cpp » ('j') | Source/core/fetch/MemoryCache.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/MemoryCache.h
diff --git a/Source/core/fetch/MemoryCache.h b/Source/core/fetch/MemoryCache.h
index f184080195b44d4f0bd5c6a193942f90ef820fff..704add194bbfbb987de2df52016794a3baad1944 100644
--- a/Source/core/fetch/MemoryCache.h
+++ b/Source/core/fetch/MemoryCache.h
@@ -234,10 +234,12 @@ private:
// Calls to put the cached resource into and out of LRU lists.
void insertInLRUList(MemoryCacheEntry*, MemoryCacheLRUList*);
void removeFromLRUList(MemoryCacheEntry*, MemoryCacheLRUList*);
+ bool containsInLRUList(MemoryCacheEntry*, MemoryCacheLRUList*);
Mike West 2014/10/16 06:34:46 Nit: Either "containedInLRUList" or "LRUListContai
nhiroki 2014/10/16 07:37:54 Done.
// Track decoded resources that are in the cache and referenced by a Web page.
void insertInLiveDecodedResourcesList(MemoryCacheEntry*);
void removeFromLiveDecodedResourcesList(MemoryCacheEntry*);
+ bool containsInLiveDecodedResourcesList(MemoryCacheEntry*);
Mike West 2014/10/16 06:34:46 Nit: Same comment.
nhiroki 2014/10/16 07:37:54 Done.
size_t liveCapacity() const;
size_t deadCapacity() const;
« no previous file with comments | « no previous file | Source/core/fetch/MemoryCache.cpp » ('j') | Source/core/fetch/MemoryCache.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698