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

Unified Diff: chrome/browser/browsing_data_remover.h

Issue 7210006: AppCaches which belong to hosted apps are not protected from deletion (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Clearing appcaches & waiting in Shutdown(). Created 9 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: chrome/browser/browsing_data_remover.h
diff --git a/chrome/browser/browsing_data_remover.h b/chrome/browser/browsing_data_remover.h
index 9f940246b817b744e8b423ebcf4937d18ee5c30d..3344e9a029f36846f5eaf88e4ecba91a21f5133a 100644
--- a/chrome/browser/browsing_data_remover.h
+++ b/chrome/browser/browsing_data_remover.h
@@ -159,7 +159,7 @@ class BrowsingDataRemover : public NotificationObserver,
// Callback when the appcache has been cleared. Invokes
// NotifyAndDeleteIfDone.
- void OnClearedAppCache();
+ void OnClearedAppCache(int rv);
// Invoked on the IO thread to delete from the AppCache.
void ClearAppCacheOnIOThread();
@@ -212,10 +212,7 @@ class BrowsingDataRemover : public NotificationObserver,
// Used to clear the appcache.
scoped_refptr<ChromeAppCacheService> appcache_service_;
- net::CompletionCallbackImpl<BrowsingDataRemover> appcache_got_info_callback_;
- net::CompletionCallbackImpl<BrowsingDataRemover> appcache_deleted_callback_;
- scoped_refptr<appcache::AppCacheInfoCollection> appcache_info_;
- int appcaches_to_be_deleted_count_;
+ net::CompletionCallbackImpl<BrowsingDataRemover> appcache_cleared_callback_;
// Used to delete data from the HTTP caches.
CacheState next_cache_state_;

Powered by Google App Engine
This is Rietveld 408576698