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

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

Issue 1774153003: Match all Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « content/browser/cache_storage/cache_storage_dispatcher_host.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 af73b7872768cbbf61278a4ad012b91fa92602ef..38cf97dffacb08a3edfa746614ea98424b97777f 100644
--- a/content/browser/cache_storage/cache_storage_dispatcher_host.cc
+++ b/content/browser/cache_storage/cache_storage_dispatcher_host.cc
@@ -433,8 +433,8 @@ void CacheStorageDispatcherHost::OnCacheMatchAllCallbackAdapter(
if (blob_data_handle)
blob_data_handles->push_back(*blob_data_handle);
}
- OnCacheMatchAllCallback(thread_id, request_id, cache, error,
- std::move(responses), std::move(blob_data_handles));
+ //OnCacheMatchAllCallback(thread_id, request_id, cache, error,
+ // std::move(responses), std::move(blob_data_handles));
}
void CacheStorageDispatcherHost::OnCacheMatchAllCallback(
@@ -442,19 +442,18 @@ void CacheStorageDispatcherHost::OnCacheMatchAllCallback(
int request_id,
const scoped_refptr<CacheStorageCache>& cache,
CacheStorageError error,
- scoped_ptr<CacheStorageCache::Responses> responses,
- scoped_ptr<CacheStorageCache::BlobDataHandles> blob_data_handles) {
+ scoped_ptr<CacheStorageCache::QueryCacheResults> results) {
if (error != CACHE_STORAGE_OK && error != CACHE_STORAGE_ERROR_NOT_FOUND) {
Send(new CacheStorageMsg_CacheMatchAllError(
thread_id, request_id, ToWebServiceWorkerCacheError(error)));
return;
}
- for (const storage::BlobDataHandle& handle : *blob_data_handles)
+ for (const storage::BlobDataHandle& handle : *results->blob_data_handles)
StoreBlobDataHandle(handle);
Send(new CacheStorageMsg_CacheMatchAllSuccess(thread_id, request_id,
- *responses));
+ *results->responses));
}
void CacheStorageDispatcherHost::OnCacheKeysCallback(
« no previous file with comments | « content/browser/cache_storage/cache_storage_dispatcher_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698