Index: chrome/browser/browser_init.cc |
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc |
index 7a651e5a320ba1aa8d86c2455e5b4b37e851a976..495ce1c493ce1593bfc17ed3323429676a29d6f6 100644 |
--- a/chrome/browser/browser_init.cc |
+++ b/chrome/browser/browser_init.cc |
@@ -78,6 +78,7 @@ |
#include "chrome/browser/chromeos/network_message_observer.h" |
#include "chrome/browser/chromeos/network_state_notifier.h" |
#include "chrome/browser/chromeos/system_key_event_listener.h" |
+#include "chrome/browser/chromeos/update_observer.h" |
#include "chrome/browser/chromeos/usb_mount_observer.h" |
#include "chrome/browser/chromeos/wm_message_listener.h" |
#include "chrome/browser/chromeos/wm_overview_controller.h" |
@@ -432,6 +433,11 @@ bool BrowserInit::LaunchBrowser( |
chromeos::CrosLibrary::Get()->GetPowerLibrary()->AddObserver( |
low_battery_observer); |
+ static chromeos::UpdateObserver* update_observer = |
+ new chromeos::UpdateObserver(profile); |
+ chromeos::CrosLibrary::Get()->GetUpdateLibrary()->AddObserver( |
+ update_observer); |
+ |
static chromeos::NetworkMessageObserver* network_message_observer = |
new chromeos::NetworkMessageObserver(profile); |
chromeos::CrosLibrary::Get()->GetNetworkLibrary()->AddObserver( |