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

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

Issue 1578363009: CacheStorage: Add ignoreSearch option to cache.matchAll(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: 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 a9dcd4cccafcb0c2c74096d621c212bb8b4e4831..83ef51a222e68094036401762f3c33a82f58c69f 100644
--- a/content/browser/cache_storage/cache_storage_cache.h
+++ b/content/browser/cache_storage/cache_storage_cache.h
@@ -77,6 +77,8 @@ class CONTENT_EXPORT CacheStorageCache
// Returns CACHE_STORAGE_OK and all responses in this cache. If there are no
// responses, returns CACHE_STORAGE_OK and an empty vector.
void MatchAll(const ResponsesCallback& callback);
+ void MatchAll(scoped_ptr<ServiceWorkerFetchRequest> request,
+ const ResponsesCallback& callback);
// Runs given batch operations. This corresponds to the Batch Cache Operations
// algorithm in the spec.
@@ -171,8 +173,10 @@ class CONTENT_EXPORT CacheStorageCache
scoped_ptr<CacheMetadata> headers);
// MatchAll callbacks
- void MatchAllImpl(const ResponsesCallback& callback);
+ void MatchAllImpl(scoped_ptr<ServiceWorkerFetchRequest> request,
+ const ResponsesCallback& callback);
void MatchAllDidOpenAllEntries(
+ scoped_ptr<ServiceWorkerFetchRequest> request,
const ResponsesCallback& callback,
scoped_ptr<OpenAllEntriesContext> entries_context,
CacheStorageError error);

Powered by Google App Engine
This is Rietveld 408576698