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

Unified Diff: chrome/browser/chromeos/cros/update_library.cc

Issue 6966025: [ChromeOS] Move ChromeOS upgrade check logic into UpgradeDetector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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/ui/toolbar/wrench_menu_model.cc » ('j') | chrome/browser/upgrade_detector.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | chrome/browser/ui/toolbar/wrench_menu_model.cc » ('j') | chrome/browser/upgrade_detector.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698