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 a0ceb3d2f844ea2597151301faeee843266ebd55..abe20e449c8c4b3da6c1a13c8835fc3e6511893f 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); |
@@ -48,7 +46,6 @@ class BrowsingDataAppCacheHelper |
bool is_fetching_; |
content::AppCacheService* appcache_service_; |
- net::CancelableCompletionCallback appcache_info_callback_; |
DISALLOW_COPY_AND_ASSIGN(BrowsingDataAppCacheHelper); |
}; |
@@ -58,7 +55,8 @@ class BrowsingDataAppCacheHelper |
// a parameter during construction. |
class CannedBrowsingDataAppCacheHelper : public BrowsingDataAppCacheHelper { |
public: |
- explicit CannedBrowsingDataAppCacheHelper(Profile* profile); |
+ explicit CannedBrowsingDataAppCacheHelper( |
+ content::BrowserContext* browser_context); |
// Return a copy of the appcache helper. Only one consumer can use the |
// StartFetching method at a time, so we need to create a copy of the helper |
@@ -88,7 +86,7 @@ class CannedBrowsingDataAppCacheHelper : public BrowsingDataAppCacheHelper { |
private: |
virtual ~CannedBrowsingDataAppCacheHelper(); |
- Profile* profile_; |
+ content::BrowserContext* browser_context_; |
DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataAppCacheHelper); |
}; |