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

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: Small changes cont. 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 d74858cfe9e0c8fb89294ec2ec9fd5ff0b0bab4b..3a1fffaa3261a844e6d913f7ca444b7cf92a99b3 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_;
« no previous file with comments | « no previous file | chrome/browser/browsing_data_remover.cc » ('j') | content/browser/appcache/chrome_appcache_service_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698