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..9236d3d0dc9663ec63fefcf7edf6e7d21a93a257 100644 |
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
@@ -504,6 +504,12 @@ 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 |
+ // go after NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, which requires |
+ // loaded profile (and, thus, should be fired in PostProfileInit, as |
+ // synchronous profile loading does not emit it). |
+ |
user_manager->SessionStarted(); |
} |