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 72e1c9a4f0efce5ab116acbf39eab3d18d5d83b4..4e79b279c1dd02218d0661fea53362a971041800 100644 |
--- a/content/browser/cache_storage/cache_storage_cache.h |
+++ b/content/browser/cache_storage/cache_storage_cache.h |
@@ -104,7 +104,9 @@ class CONTENT_EXPORT CacheStorageCache |
// TODO(jkarlin): Have keys take an optional ServiceWorkerFetchRequest. |
zino
2016/02/24 18:26:57
jkarlin@,
Are you working on this TODO?
If you ar
|
// Returns CACHE_STORAGE_OK and a vector of requests if there are no errors. |
- void Keys(const RequestsCallback& callback); |
+ void Keys(scoped_ptr<ServiceWorkerFetchRequest> request, |
+ const CacheStorageCacheQueryParams& match_params, |
+ const RequestsCallback& callback); |
// Closes the backend. Future operations that require the backend |
// will exit early. Close should only be called once per CacheStorageCache. |
@@ -237,8 +239,8 @@ class CONTENT_EXPORT CacheStorageCache |
int rv); |
// Keys callbacks. |
- void KeysImpl(const RequestsCallback& callback); |
- void KeysDidOpenAllEntries(const RequestsCallback& callback, |
+ void KeysImpl(scoped_ptr<KeysContext> keys_context); |
+ void KeysDidOpenAllEntries(scoped_ptr<KeysContext> keys_context, |
scoped_ptr<OpenAllEntriesContext> entries_context, |
CacheStorageError error); |
void KeysProcessNextEntry(scoped_ptr<KeysContext> keys_context, |