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

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

Issue 2598643002: [CacheStorage] Fix ownership of doomed cache as it's cleaned up (Closed)
Patch Set: Created 4 years 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 | « no previous file | content/browser/cache_storage/cache_storage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e0569f19716d5327e43801801ee5a948e56a51d7..e40c9375af46ab0d9fde5e984cae3c3e1da5907e 100644
--- a/content/browser/cache_storage/cache_storage.h
+++ b/content/browser/cache_storage/cache_storage.h
@@ -166,8 +166,8 @@ class CONTENT_EXPORT CacheStorage {
const StringVector& original_ordered_cache_names,
const BoolAndErrorCallback& callback,
bool success);
- void DeleteCacheFinalize(std::unique_ptr<CacheStorageCache> doomed_cache);
- void DeleteCacheDidGetSize(std::unique_ptr<CacheStorageCache> cache,
+ void DeleteCacheFinalize(CacheStorageCache* doomed_cache);
+ void DeleteCacheDidGetSize(CacheStorageCache* doomed_cache,
int64_t cache_size);
void DeleteCacheDidCleanUp(bool success);
« no previous file with comments | « no previous file | content/browser/cache_storage/cache_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698