Index: chrome/browser/chromeos/cros/update_library.cc |
diff --git a/chrome/browser/chromeos/cros/update_library.cc b/chrome/browser/chromeos/cros/update_library.cc |
index ab11616724b034a57b1180de7c9f6e35db09e0eb..c59bc49d871305124d5b9d704c2d17630eab52e3 100644 |
--- a/chrome/browser/chromeos/cros/update_library.cc |
+++ b/chrome/browser/chromeos/cros/update_library.cc |
@@ -8,8 +8,6 @@ |
#include "base/string_util.h" |
#include "chrome/browser/chromeos/cros/cros_library.h" |
#include "content/browser/browser_thread.h" |
-#include "content/common/notification_service.h" |
-#include "content/common/notification_type.h" |
namespace chromeos { |
@@ -91,15 +89,6 @@ class UpdateLibraryImpl : public UpdateLibrary { |
status_ = status; |
FOR_EACH_OBSERVER(Observer, observers_, UpdateStatusChanged(this)); |
- |
- // If the update is ready to install, send a notification so that Chrome |
- // can update the UI. |
- if (status_.status == UPDATE_STATUS_UPDATED_NEED_REBOOT) { |
- NotificationService::current()->Notify( |
- NotificationType::UPGRADE_RECOMMENDED, |
- Source<UpdateLibrary>(this), |
- NotificationService::NoDetails()); |
- } |
} |
ObserverList<Observer> observers_; |