diff options
Diffstat (limited to 'chromium/content/browser/browsing_data/conditional_cache_deletion_helper.h')
-rw-r--r-- | chromium/content/browser/browsing_data/conditional_cache_deletion_helper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/content/browser/browsing_data/conditional_cache_deletion_helper.h b/chromium/content/browser/browsing_data/conditional_cache_deletion_helper.h index 64fe71514f7..b98c3c2bc5e 100644 --- a/chromium/content/browser/browsing_data/conditional_cache_deletion_helper.h +++ b/chromium/content/browser/browsing_data/conditional_cache_deletion_helper.h @@ -25,7 +25,6 @@ namespace content { class CONTENT_EXPORT ConditionalCacheDeletionHelper { public: // Creates a helper to delete |cache| entries that match the |condition|. - // Must be created on the IO thread! ConditionalCacheDeletionHelper( disk_cache::Backend* cache, base::RepeatingCallback<bool(const disk_cache::Entry*)> condition); @@ -56,7 +55,6 @@ class CONTENT_EXPORT ConditionalCacheDeletionHelper { // Deletes the cache entries according to the specified condition. Destroys // this instance of ConditionalCacheDeletionHelper when finished. - // Must be called on the IO thread! // // The return value is a net error code. If this method returns // ERR_IO_PENDING, the |completion_callback| will be invoked when the @@ -75,6 +73,8 @@ class CONTENT_EXPORT ConditionalCacheDeletionHelper { net::CompletionOnceCallback completion_callback_; + SEQUENCE_CHECKER(sequence_checker_); + std::unique_ptr<disk_cache::Backend::Iterator> iterator_; disk_cache::Entry* current_entry_; disk_cache::Entry* previous_entry_; |