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

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: Test beautification. 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
« no previous file with comments | « no previous file | chrome/browser/browsing_data_remover.cc » ('j') | chrome/browser/browsing_data_remover.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..886c0edcc2d2f00a9fb1d23f0bc2e90044a8c250 100644
--- a/chrome/browser/browsing_data_remover.h
+++ b/chrome/browser/browsing_data_remover.h
@@ -159,15 +159,11 @@ 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();
- // Lower level helpers.
- void OnGotAppCacheInfo(int rv);
- void OnAppCacheDeleted(int rv);
-
// Callback when Gears data has been deleted. Invokes NotifyAndDeleteIfDone.
void OnClearedGearsData();
@@ -212,10 +208,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') | chrome/browser/browsing_data_remover.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698