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

Unified Diff: content/browser/cache_storage/cache_storage.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.h
diff --git a/content/browser/cache_storage/cache_storage.h b/content/browser/cache_storage/cache_storage.h
index bcc3d2a55831ececc905d4480dcbb1772a4b23be..3221dc7a849e2bd98278762d06a122f0b8dba899 100644
--- a/content/browser/cache_storage/cache_storage.h
+++ b/content/browser/cache_storage/cache_storage.h
@@ -199,25 +199,6 @@ class CONTENT_EXPORT CacheStorage {
void SizeImpl(const SizeCallback& callback);
- void PendingClosure(const base::Closure& callback);
- void PendingBoolAndErrorCallback(const BoolAndErrorCallback& callback,
- bool found,
- CacheStorageError error);
- void PendingCacheAndErrorCallback(
- const CacheAndErrorCallback& callback,
- std::unique_ptr<CacheStorageCacheHandle> cache_handle,
- CacheStorageError error);
- void PendingStringsAndErrorCallback(const StringsAndErrorCallback& callback,
- const StringVector& strings,
- CacheStorageError error);
- void PendingResponseCallback(
- const CacheStorageCache::ResponseCallback& callback,
- CacheStorageError error,
- std::unique_ptr<ServiceWorkerResponse> response,
- std::unique_ptr<storage::BlobDataHandle> blob_data_handle);
-
- void PendingSizeCallback(const SizeCallback& callback, int64_t size);
-
// Whether or not we've loaded the list of cache names into memory.
bool initialized_;
bool initializing_;
« no previous file with comments | « content/browser/background_sync/background_sync_manager.cc ('k') | content/browser/cache_storage/cache_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698