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

Unified Diff: content/browser/cache_storage/cache_storage_cache.h

Issue 2167483002: [CacheStorage] Simpler way to wrap callbacks to run pending operation completions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment clarification Created 4 years, 5 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.h
diff --git a/content/browser/cache_storage/cache_storage_cache.h b/content/browser/cache_storage/cache_storage_cache.h
index 5d9d329692ce572151717d60eec9d17f13374529..cf4a1fc8902a24f56065c3044318d41c07112e69 100644
--- a/content/browser/cache_storage/cache_storage_cache.h
+++ b/content/browser/cache_storage/cache_storage_cache.h
@@ -336,24 +336,6 @@ class CONTENT_EXPORT CacheStorageCache {
CacheStorageError cache_create_error,
int cache_size);
- void PendingClosure(const base::Closure& callback);
- void PendingErrorCallback(const ErrorCallback& callback,
- CacheStorageError error);
- void PendingResponseCallback(
- const ResponseCallback& callback,
- CacheStorageError error,
- std::unique_ptr<ServiceWorkerResponse> response,
- std::unique_ptr<storage::BlobDataHandle> blob_data_handle);
- void PendingResponsesCallback(
- const ResponsesCallback& callback,
- CacheStorageError error,
- std::unique_ptr<Responses> responses,
- std::unique_ptr<BlobDataHandles> blob_data_handles);
- void PendingRequestsCallback(const RequestsCallback& callback,
- CacheStorageError error,
- std::unique_ptr<Requests> requests);
- void PendingSizeCallback(const SizeCallback& callback, int64_t size);
-
void PopulateResponseMetadata(const CacheMetadata& metadata,
ServiceWorkerResponse* response);
std::unique_ptr<storage::BlobDataHandle> PopulateResponseBody(
« no previous file with comments | « content/browser/cache_storage/cache_storage.cc ('k') | content/browser/cache_storage/cache_storage_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698