| Index: content/browser/cache_storage/cache_storage_dispatcher_host.cc
|
| diff --git a/content/browser/cache_storage/cache_storage_dispatcher_host.cc b/content/browser/cache_storage/cache_storage_dispatcher_host.cc
|
| index 073f57d80272b7c5f1aba82b17bf846d51b5515b..a25ca5f54cac83a547fcc566ac97f99b3f6399f7 100644
|
| --- a/content/browser/cache_storage/cache_storage_dispatcher_host.cc
|
| +++ b/content/browser/cache_storage/cache_storage_dispatcher_host.cc
|
| @@ -242,6 +242,7 @@ void CacheStorageDispatcherHost::OnCacheMatchAll(
|
| scoped_refptr<CacheStorageCache> cache = it->second;
|
| if (request.url.is_empty()) {
|
| cache->MatchAll(
|
| + scoped_ptr<ServiceWorkerFetchRequest>(), match_params,
|
| base::Bind(&CacheStorageDispatcherHost::OnCacheMatchAllCallback, this,
|
| thread_id, request_id, cache));
|
| return;
|
| @@ -251,6 +252,13 @@ void CacheStorageDispatcherHost::OnCacheMatchAll(
|
| new ServiceWorkerFetchRequest(request.url, request.method,
|
| request.headers, request.referrer,
|
| request.is_reload));
|
| + if (match_params.ignore_search) {
|
| + cache->MatchAll(
|
| + std::move(scoped_request), match_params,
|
| + base::Bind(&CacheStorageDispatcherHost::OnCacheMatchAllCallback, this,
|
| + thread_id, request_id, cache));
|
| + return;
|
| + }
|
| cache->Match(
|
| std::move(scoped_request),
|
| base::Bind(&CacheStorageDispatcherHost::OnCacheMatchAllCallbackAdapter,
|
|
|