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

Unified Diff: chrome/browser/browsing_data/browsing_data_appcache_helper.h

Issue 545243002: Clean up BrowsingDataAppCacheHelper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase fixed Created 6 years, 3 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/browsing_data_appcache_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/browsing_data_appcache_helper.h
diff --git a/chrome/browser/browsing_data/browsing_data_appcache_helper.h b/chrome/browser/browsing_data/browsing_data_appcache_helper.h
index 55c5cb62601fd78dcd71a6f163ea1769a48ed1c5..80e7bd33bbee808768c1bb13ebcb5a7459adcc43 100644
--- a/chrome/browser/browsing_data/browsing_data_appcache_helper.h
+++ b/chrome/browser/browsing_data/browsing_data_appcache_helper.h
@@ -13,10 +13,8 @@
#include "net/base/completion_callback.h"
#include "url/gurl.h"
-class Profile;
-
namespace content {
-class AppCacheService;
+class BrowserContext;
}
// This class fetches appcache information on behalf of a caller
@@ -26,7 +24,7 @@ class BrowsingDataAppCacheHelper
public:
typedef std::map<GURL, content::AppCacheInfoVector> OriginAppCacheInfoMap;
- explicit BrowsingDataAppCacheHelper(Profile* profile);
+ explicit BrowsingDataAppCacheHelper(content::BrowserContext* browser_context);
virtual void StartFetching(const base::Closure& completion_callback);
virtual void DeleteAppCacheGroup(const GURL& manifest_url);
@@ -58,7 +56,8 @@ class BrowsingDataAppCacheHelper
// a parameter during construction.
class CannedBrowsingDataAppCacheHelper : public BrowsingDataAppCacheHelper {
public:
- explicit CannedBrowsingDataAppCacheHelper(Profile* profile);
+ explicit CannedBrowsingDataAppCacheHelper(
+ content::BrowserContext* browser_context);
// Add an appcache to the set of canned caches that is returned by this
// helper.
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_appcache_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698