| Index: chrome/browser/ui/ash/system_tray_client.h
|
| diff --git a/chrome/browser/ui/ash/system_tray_client.h b/chrome/browser/ui/ash/system_tray_client.h
|
| index 355d046f6c3651240b481be4a4580ea01de37984..7b6adb0c2aba88bf1d185ce30c3ad2c660e79cdf 100644
|
| --- a/chrome/browser/ui/ash/system_tray_client.h
|
| +++ b/chrome/browser/ui/ash/system_tray_client.h
|
| @@ -8,9 +8,12 @@
|
| #include "ash/public/interfaces/system_tray.mojom.h"
|
| #include "base/macros.h"
|
| #include "chrome/browser/chromeos/system/system_clock_observer.h"
|
| +#include "chrome/browser/upgrade_detector.h"
|
| +#include "chromeos/dbus/update_engine_client.h"
|
| #include "components/policy/core/common/cloud/cloud_policy_store.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| +
|
| #include "mojo/public/cpp/bindings/binding.h"
|
|
|
| namespace ash {
|
| @@ -28,7 +31,8 @@ class WidgetDelegate;
|
| class SystemTrayClient : public ash::mojom::SystemTrayClient,
|
| public chromeos::system::SystemClockObserver,
|
| public policy::CloudPolicyStore::Observer,
|
| - public content::NotificationObserver {
|
| + public content::NotificationObserver,
|
| + public UpgradeDetector::UpgradeObserver {
|
| public:
|
| SystemTrayClient();
|
| ~SystemTrayClient() override;
|
| @@ -69,6 +73,7 @@ class SystemTrayClient : public ash::mojom::SystemTrayClient,
|
| void ShowPowerSettings() override;
|
| void ShowChromeSlow() override;
|
| void ShowIMESettings() override;
|
| + void ShowAboutChromeOS() override;
|
| void ShowHelp() override;
|
| void ShowAccessibilityHelp() override;
|
| void ShowAccessibilitySettings() override;
|
| @@ -92,9 +97,15 @@ class SystemTrayClient : public ash::mojom::SystemTrayClient,
|
| // Requests that ash show the update available icon.
|
| void HandleUpdateAvailable();
|
|
|
| + // Requests that ash show the update over cellular available icon.
|
| + void HandleUpdateOverCellularAvailable();
|
| +
|
| // chromeos::system::SystemClockObserver:
|
| void OnSystemClockChanged(chromeos::system::SystemClock* clock) override;
|
|
|
| + // UpgradeDetector::UpgradeObserver:
|
| + void OnUpdateOverCellularAvailable() override;
|
| +
|
| // policy::CloudPolicyStore::Observer
|
| void OnStoreLoaded(policy::CloudPolicyStore* store) override;
|
| void OnStoreError(policy::CloudPolicyStore* store) override;
|
|
|