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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.h

Issue 2933923002: Remove update icon after user confirms download (Closed)
Patch Set: Apply fix to patch set 2 Created 3 years, 6 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 | « ash/system/update/update_observer.h ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.h
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.h b/chrome/browser/ui/ash/system_tray_delegate_chromeos.h
index a7d6a9ba034cb011dcc0b9a2b74eb1137c96d801..5936f97e2c91431012a265ceff961904ba3a3f21 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.h
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.h
@@ -19,6 +19,7 @@
#include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser_list_observer.h"
+#include "chromeos/dbus/update_engine_client.h"
#include "components/prefs/pref_change_registrar.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -40,7 +41,8 @@ class SystemTrayDelegateChromeOS
public input_method::InputMethodManager::Observer,
public chrome::BrowserListObserver,
public extensions::AppWindowRegistry::Observer,
- public input_method::InputMethodManager::ImeMenuObserver {
+ public input_method::InputMethodManager::ImeMenuObserver,
+ public UpdateEngineClient::Observer {
public:
SystemTrayDelegateChromeOS();
~SystemTrayDelegateChromeOS() override;
@@ -115,6 +117,9 @@ class SystemTrayDelegateChromeOS
const std::vector<input_method::InputMethodManager::MenuItem>& items)
override;
+ // Overridden from UpdateEngineClient::Observer.
+ void OnUpdateOverCellularTargetSet(bool success) override;
+
std::unique_ptr<content::NotificationRegistrar> registrar_;
std::unique_ptr<PrefChangeRegistrar> user_pref_registrar_;
Profile* user_profile_ = nullptr;
« no previous file with comments | « ash/system/update/update_observer.h ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698