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

Unified Diff: content/browser/cache_storage/cache_storage_cache.h

Issue 2281983003: [CacheStorage] Filter entries while iterating the backend (Closed)
Patch Set: Rebase Created 4 years, 4 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 | content/browser/cache_storage/cache_storage_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/cache_storage/cache_storage_cache.h
diff --git a/content/browser/cache_storage/cache_storage_cache.h b/content/browser/cache_storage/cache_storage_cache.h
index 2e387dd0dbb2758018bc8a481f002a2ec1b2a4b8..4e345e1506c8a6a0e261d68aad0279b7225e8f19 100644
--- a/content/browser/cache_storage/cache_storage_cache.h
+++ b/content/browser/cache_storage/cache_storage_cache.h
@@ -209,20 +209,17 @@ class CONTENT_EXPORT CacheStorageCache {
const CacheStorageCacheQueryParams& options,
QueryCacheType query_type,
const QueryCacheResultsCallback& callback);
- void QueryCacheDidOpenEntry(
+ void QueryCacheDidOpenFastPath(
std::unique_ptr<QueryCacheResults> query_cache_results,
- std::unique_ptr<disk_cache::Entry*> entry,
int rv);
- void QueryCacheDidOpenAllEntries(
- std::unique_ptr<QueryCacheResults> query_cache_results,
- std::unique_ptr<OpenAllEntriesContext> entries_context,
- CacheStorageError error);
- void QueryCacheProcessNextEntry(
+ void QueryCacheOpenNextEntry(
+ std::unique_ptr<QueryCacheResults> query_cache_results);
+ void QueryCacheFilterEntry(
std::unique_ptr<QueryCacheResults> query_cache_results,
- const Entries::iterator& iter);
+ int rv);
void QueryCacheDidReadMetadata(
std::unique_ptr<QueryCacheResults> query_cache_results,
- const Entries::iterator& iter,
+ disk_cache::ScopedEntryPtr entry,
std::unique_ptr<CacheMetadata> metadata);
// Match callbacks
« no previous file with comments | « no previous file | content/browser/cache_storage/cache_storage_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698