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

Unified Diff: chrome/browser/browsing_data_remover.h

Issue 7290025: BrowsingDataRemover: Getting ChromeAppCacheService directly from Profile. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Not allowed to access profile_ on IO thread. Caching the ChromeAppCacheService. Created 9 years, 6 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 fbfd4ece5c4643660af617dbd52ca00c9ca54b88..d74858cfe9e0c8fb89294ec2ec9fd5ff0b0bab4b 100644
--- a/chrome/browser/browsing_data_remover.h
+++ b/chrome/browser/browsing_data_remover.h
@@ -167,7 +167,6 @@ class BrowsingDataRemover : public NotificationObserver,
// Lower level helpers.
void OnGotAppCacheInfo(int rv);
void OnAppCacheDeleted(int rv);
- ChromeAppCacheService* GetAppCacheService();
// Callback when Gears data has been deleted. Invokes NotifyAndDeleteIfDone.
void OnClearedGearsData();
@@ -212,6 +211,7 @@ class BrowsingDataRemover : public NotificationObserver,
net::CompletionCallbackImpl<BrowsingDataRemover> cache_callback_;
// 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_;
« 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