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

Unified Diff: chrome/browser/chromeos/chrome_browser_main_chromeos.cc

Issue 11667024: Do not return profile unless it is loaded (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: No more need for NotifyProfileCreated Created 7 years, 11 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 | « no previous file | chrome/browser/profiles/profile_manager.h » ('j') | chrome/browser/profiles/profile_manager.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/chrome_browser_main_chromeos.cc
diff --git a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
index 5b947a9e19b4326db91819aa26438e4bca14b706..d199ef7b31de2882cbf1dfcd4adf242715625fef 100644
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
@@ -504,6 +504,11 @@ void ChromeBrowserMainPartsChromeos::PreProfileInit() {
app_order_loader_.reset(
new default_app_order::ExternalLoader(false /* async */));
+ // TODO(antrim): SessionStarted notification should be moved to
+ // PostProfileInit at some point, as NOTIFICATION_SESSION_STARTED should
+ // usually go after NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, which requires
Nikita (slow) 2013/01/09 13:54:33 NOTIFICATION_LOGIN_USER_PROFILE_PREPARED is called
Denis Kuznetsov (DE-MUC) 2013/01/09 14:10:49 Done.
+ // loaded profile.
+
user_manager->SessionStarted();
}
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_manager.h » ('j') | chrome/browser/profiles/profile_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698