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

Unified Diff: content/browser/cache_storage/cache_storage_cache_unittest.cc

Issue 1578363009: CacheStorage: Add ignoreSearch option to cache.matchAll(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments 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_unittest.cc
diff --git a/content/browser/cache_storage/cache_storage_cache_unittest.cc b/content/browser/cache_storage/cache_storage_cache_unittest.cc
index b440758990e0a887262b52d8ce24ca4807d613d3..db3a489f751a88d72e903cd7aa992e0b668db66a 100644
--- a/content/browser/cache_storage/cache_storage_cache_unittest.cc
+++ b/content/browser/cache_storage/cache_storage_cache_unittest.cc
@@ -375,9 +375,11 @@ class CacheStorageCacheTest : public testing::Test {
bool MatchAll(scoped_ptr<CacheStorageCache::Responses>* responses,
scoped_ptr<CacheStorageCache::BlobDataHandles>* body_handles) {
base::RunLoop loop;
- cache_->MatchAll(base::Bind(
- &CacheStorageCacheTest::ResponsesAndErrorCallback,
- base::Unretained(this), loop.QuitClosure(), responses, body_handles));
+ cache_->MatchAll(
+ scoped_ptr<ServiceWorkerFetchRequest>(), CacheStorageCacheQueryParams(),
+ base::Bind(&CacheStorageCacheTest::ResponsesAndErrorCallback,
+ base::Unretained(this), loop.QuitClosure(), responses,
+ body_handles));
loop.Run();
return callback_error_ == CACHE_STORAGE_OK;
}

Powered by Google App Engine
This is Rietveld 408576698