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

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

Issue 7285014: [wip] Profile: Sketch of a creation system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to retrybot Created 9 years, 5 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/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index 24a14d89f58e323bc87fd1376b07d166f31274c6..86f7a795be1b047a3161639f711bdbc0fe4da4c8 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -222,15 +222,11 @@ class OffTheRecordProfileImpl : public Profile,
prefs_(real_profile->GetOffTheRecordPrefs()),
ALLOW_THIS_IN_INITIALIZER_LIST(io_data_(this)),
start_time_(Time::Now()) {
-#ifndef NDEBUG
- ProfileDependencyManager::GetInstance()->ProfileNowExists(this);
-#endif
-
extension_process_manager_.reset(ExtensionProcessManager::Create(this));
BrowserList::AddObserver(this);
- BackgroundContentsServiceFactory::GetForProfile(this);
+ ProfileDependencyManager::GetInstance()->CreateProfileServices(this, false);
DCHECK(real_profile->GetPrefs()->GetBoolean(prefs::kIncognitoEnabled));
« no previous file with comments | « chrome/browser/background/background_contents_service_factory.cc ('k') | chrome/browser/profiles/profile_dependency_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698