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 5dee70dac8b54f43daa62a5419f4c3cee3667824..d3e4935efa2a75aaa58d5d17979d78179badf3a6 100644 |
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
@@ -49,8 +49,10 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/ui/views/browser_dialogs.h" |
+#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/logging_chrome.h" |
+#include "content/public/browser/notification_service.h" |
#include "content/public/common/main_function_params.h" |
#include "grit/platform_locale_settings.h" |
#include "net/base/network_change_notifier.h" |
@@ -393,6 +395,10 @@ void ChromeBrowserMainPartsChromeos::PreProfileInit() { |
// initialization code sees policy settings. |
g_browser_process->browser_policy_connector()->InitializeUserPolicy( |
username, false /* wait_for_policy_fetch */); |
+ content::NotificationService::current()->Notify( |
+ chrome::NOTIFICATION_SESSION_STARTED, |
+ content::NotificationService::AllSources(), |
+ content::NotificationService::NoDetails()); |
flackr
2012/01/31 17:53:46
This was also necessary just for browser crashes i
Nikita (slow)
2012/02/01 10:38:46
Yes.
|
} else if (parsed_command_line().HasSwitch(switches::kLoginManager)) { |
// Initialize status area mode early on. |
chromeos::StatusAreaViewChromeos:: |