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

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl.cc

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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/profiles/off_the_record_profile_impl.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
index 12371a98ba567e4d2eac1d09df0b420a4af18ad2..4ff3bbdfd721a69c72cd7c3004def7fae4745a39 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -94,7 +94,8 @@ OffTheRecordProfileImpl::OffTheRecordProfileImpl(Profile* real_profile)
}
void OffTheRecordProfileImpl::Init() {
- ProfileDependencyManager::GetInstance()->CreateProfileServices(this, false);
+ BrowserContextDependencyManager::GetInstance()->CreateBrowserContextServices(
+ this, false);
extensions::ExtensionSystem::Get(this)->InitForOTRProfile();
@@ -140,7 +141,8 @@ OffTheRecordProfileImpl::~OffTheRecordProfileImpl() {
io_data_.GetResourceContextNoInit());
#endif
- ProfileDependencyManager::GetInstance()->DestroyProfileServices(this);
+ BrowserContextDependencyManager::GetInstance()->DestroyBrowserContextServices(
+ this);
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,

Powered by Google App Engine
This is Rietveld 408576698