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

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

Issue 2947753002: CacheStorage: Migrate to BindOnce/OnceCallback/OnceClosure (Closed)
Patch Set: Untangle Batch logic (relies on AdaptCallbackForRepeating) Created 3 years, 6 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_manager.h
diff --git a/content/browser/cache_storage/cache_storage_manager.h b/content/browser/cache_storage/cache_storage_manager.h
index 393f1ce401b6b05a805300c297a55818ebb535fb..e5bbff33712a5617d4d8990256ecdabbfaa3c1fb 100644
--- a/content/browser/cache_storage/cache_storage_manager.h
+++ b/content/browser/cache_storage/cache_storage_manager.h
@@ -58,24 +58,24 @@ class CONTENT_EXPORT CacheStorageManager {
// corresponding CacheStorage method on the appropriate thread.
void OpenCache(const GURL& origin,
const std::string& cache_name,
- const CacheStorage::CacheAndErrorCallback& callback);
+ CacheStorage::CacheAndErrorCallback callback);
void HasCache(const GURL& origin,
const std::string& cache_name,
- const CacheStorage::BoolAndErrorCallback& callback);
+ CacheStorage::BoolAndErrorCallback callback);
void DeleteCache(const GURL& origin,
const std::string& cache_name,
- const CacheStorage::BoolAndErrorCallback& callback);
+ CacheStorage::BoolAndErrorCallback callback);
void EnumerateCaches(const GURL& origin,
- const CacheStorage::IndexCallback& callback);
+ CacheStorage::IndexCallback callback);
void MatchCache(const GURL& origin,
const std::string& cache_name,
std::unique_ptr<ServiceWorkerFetchRequest> request,
const CacheStorageCacheQueryParams& match_params,
- const CacheStorageCache::ResponseCallback& callback);
+ CacheStorageCache::ResponseCallback callback);
void MatchAllCaches(const GURL& origin,
std::unique_ptr<ServiceWorkerFetchRequest> request,
const CacheStorageCacheQueryParams& match_params,
- const CacheStorageCache::ResponseCallback& callback);
+ CacheStorageCache::ResponseCallback callback);
// This must be called before creating any of the public *Cache functions
// above.

Powered by Google App Engine
This is Rietveld 408576698