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

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: Y U NO LIEK CONST, MAC? Created 9 years, 6 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 bceb2a30a51760efd1746cb05b592d393e70ac04..3e3678dfb9f2da96e981dcfeba40d0b460212371 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -220,14 +220,12 @@ 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);
+ ProfileDependencyManager::GetInstance()->CreateProfileServices(this, false);
+
BackgroundContentsServiceFactory::GetForProfile(this);
Elliot Glaysher 2011/06/30 23:55:03 (Realized I missed this one)
DCHECK(real_profile->GetPrefs()->GetBoolean(prefs::kIncognitoEnabled));

Powered by Google App Engine
This is Rietveld 408576698