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

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

Issue 2242883002: [CacheStorage] Use QueryCache everywhere (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from PS9 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
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 5b4199e97c56f93c7e7c41428f6225da2f0a753c..ed3bccb9742b215db55bd8368f368428f92d2812 100644
--- a/content/browser/cache_storage/cache_storage_dispatcher_host.cc
+++ b/content/browser/cache_storage/cache_storage_dispatcher_host.cc
@@ -203,7 +203,7 @@ void CacheStorageDispatcherHost::OnCacheStorageMatch(
if (match_params.cache_name.is_null()) {
context_->cache_manager()->MatchAllCaches(
- GURL(origin.Serialize()), std::move(scoped_request),
+ GURL(origin.Serialize()), std::move(scoped_request), match_params,
base::Bind(&CacheStorageDispatcherHost::OnCacheStorageMatchCallback,
this, thread_id, request_id));
return;
@@ -211,7 +211,7 @@ void CacheStorageDispatcherHost::OnCacheStorageMatch(
context_->cache_manager()->MatchCache(
GURL(origin.Serialize()),
base::UTF16ToUTF8(match_params.cache_name.string()),
- std::move(scoped_request),
+ std::move(scoped_request), match_params,
base::Bind(&CacheStorageDispatcherHost::OnCacheStorageMatchCallback, this,
thread_id, request_id));
}
@@ -235,7 +235,7 @@ void CacheStorageDispatcherHost::OnCacheMatch(
request.headers, request.referrer,
request.is_reload));
cache->Match(
- std::move(scoped_request),
+ std::move(scoped_request), match_params,
base::Bind(&CacheStorageDispatcherHost::OnCacheMatchCallback, this,
thread_id, request_id, base::Passed(it->second->Clone())));
}
@@ -274,7 +274,7 @@ void CacheStorageDispatcherHost::OnCacheMatchAll(
return;
}
cache->Match(
- std::move(scoped_request),
+ std::move(scoped_request), match_params,
base::Bind(&CacheStorageDispatcherHost::OnCacheMatchAllCallbackAdapter,
this, thread_id, request_id,
base::Passed(it->second->Clone())));
« no previous file with comments | « content/browser/cache_storage/cache_storage_cache_unittest.cc ('k') | content/browser/cache_storage/cache_storage_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698