| Index: chrome/browser/browsing_data/browsing_data_appcache_helper.cc
|
| diff --git a/chrome/browser/browsing_data/browsing_data_appcache_helper.cc b/chrome/browser/browsing_data/browsing_data_appcache_helper.cc
|
| index 613b193a00ce689c0cae365ef3ad7a68dbeb9a1a..b11e486353a4390f7066b90d78c7df38337888a6 100644
|
| --- a/chrome/browser/browsing_data/browsing_data_appcache_helper.cc
|
| +++ b/chrome/browser/browsing_data/browsing_data_appcache_helper.cc
|
| @@ -7,19 +7,18 @@
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| #include "chrome/browser/browsing_data/browsing_data_helper.h"
|
| -#include "chrome/browser/profiles/profile.h"
|
| -#include "chrome/common/url_constants.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/storage_partition.h"
|
|
|
| -using content::BrowserThread;
|
| using content::BrowserContext;
|
| +using content::BrowserThread;
|
|
|
| -BrowsingDataAppCacheHelper::BrowsingDataAppCacheHelper(Profile* profile)
|
| +BrowsingDataAppCacheHelper::BrowsingDataAppCacheHelper(
|
| + BrowserContext* browser_context)
|
| : is_fetching_(false),
|
| - appcache_service_(BrowserContext::GetDefaultStoragePartition(profile)->
|
| - GetAppCacheService()) {
|
| + appcache_service_(BrowserContext::GetDefaultStoragePartition(
|
| + browser_context)->GetAppCacheService()) {
|
| }
|
|
|
| void BrowsingDataAppCacheHelper::StartFetching(const base::Closure& callback) {
|
| @@ -87,8 +86,8 @@ void BrowsingDataAppCacheHelper::OnFetchComplete(int rv) {
|
| }
|
|
|
| CannedBrowsingDataAppCacheHelper::CannedBrowsingDataAppCacheHelper(
|
| - Profile* profile)
|
| - : BrowsingDataAppCacheHelper(profile) {
|
| + BrowserContext* browser_context)
|
| + : BrowsingDataAppCacheHelper(browser_context) {
|
| info_collection_ = new content::AppCacheInfoCollection;
|
| }
|
|
|
|
|