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

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

Issue 2933923002: Remove update icon after user confirms download (Closed)
Patch Set: 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
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..8f78e312001e751714d24df9d95ff84df4de38c7 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 public UpdateEngineClient::Observer.
stevenjb 2017/06/13 17:38:18 s/public//
weidongg 2017/06/13 19:01:39 Done.
+ void OnUpdateOverCellularTargetSet(bool success) override;
+
std::unique_ptr<content::NotificationRegistrar> registrar_;
std::unique_ptr<PrefChangeRegistrar> user_pref_registrar_;
Profile* user_profile_ = nullptr;

Powered by Google App Engine
This is Rietveld 408576698