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

Unified Diff: chrome/browser/browsing_data_appcache_helper.cc

Issue 9419033: Move creation of BrowserContext objects that live in content to content, instead of depending on th… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix memory leaks in tests Created 8 years, 10 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 | « chrome/browser/DEPS ('k') | chrome/browser/browsing_data_database_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data_appcache_helper.cc
===================================================================
--- chrome/browser/browsing_data_appcache_helper.cc (revision 122721)
+++ chrome/browser/browsing_data_appcache_helper.cc (working copy)
@@ -13,11 +13,12 @@
#include "webkit/appcache/appcache_storage.h"
using appcache::AppCacheDatabase;
+using content::BrowserContext;
using content::BrowserThread;
BrowsingDataAppCacheHelper::BrowsingDataAppCacheHelper(Profile* profile)
: is_fetching_(false),
- appcache_service_(profile->GetAppCacheService()) {
+ appcache_service_(BrowserContext::GetAppCacheService(profile)) {
}
void BrowsingDataAppCacheHelper::StartFetching(const base::Closure& callback) {
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/browsing_data_database_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698