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

Unified Diff: chrome/browser/browsing_data_indexed_db_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
Index: chrome/browser/browsing_data_indexed_db_helper.cc
===================================================================
--- chrome/browser/browsing_data_indexed_db_helper.cc (revision 122721)
+++ chrome/browser/browsing_data_indexed_db_helper.cc (working copy)
@@ -18,6 +18,7 @@
#include "webkit/database/database_util.h"
#include "webkit/glue/webkit_glue.h"
+using content::BrowserContext;
using content::BrowserThread;
using webkit_database::DatabaseUtil;
@@ -62,7 +63,8 @@
BrowsingDataIndexedDBHelperImpl::BrowsingDataIndexedDBHelperImpl(
Profile* profile)
- : indexed_db_context_(profile->GetWebKitContext()->indexed_db_context()),
+ : indexed_db_context_(
+ BrowserContext::GetWebKitContext(profile)->indexed_db_context()),
is_fetching_(false) {
DCHECK(indexed_db_context_.get());
}
« no previous file with comments | « chrome/browser/browsing_data_file_system_helper_unittest.cc ('k') | chrome/browser/browsing_data_local_storage_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698