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 a29dc9e41e570d387e5185d7056f4b438320988e..fdbfee68a504b30588eac38568dae902aefe9c03 100644 |
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.h |
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.h |
@@ -69,6 +69,10 @@ class SystemTrayDelegateChromeOS |
~SystemTrayDelegateChromeOS() override; |
+ // Access a global pointer to the single instance of the |
+ // SystemTrayDelegateChromeOS class. |
+ static SystemTrayDelegateChromeOS* Get(); |
Nico
2016/12/02 01:20:07
I think we usually call these "instance()": https:
Greg K
2016/12/03 00:05:42
Done.
|
+ |
void InitializeOnAdapterReady( |
scoped_refptr<device::BluetoothAdapter> adapter); |
@@ -123,6 +127,11 @@ class SystemTrayDelegateChromeOS |
void UserChangedChildStatus(user_manager::User* user) override; |
+ // This notifies the system that a flash update is now available, and so the |
+ // user should reboot. |
+ void SetFlashUpdateAvailable(); |
+ bool GetFlashUpdateAvailable(); |
+ |
private: |
ash::SystemTrayNotifier* GetSystemTrayNotifier(); |
@@ -235,6 +244,7 @@ class SystemTrayDelegateChromeOS |
std::string enterprise_realm_; |
bool should_run_bluetooth_discovery_ = false; |
bool session_started_ = false; |
+ bool flash_update_available_ = false; |
scoped_refptr<device::BluetoothAdapter> bluetooth_adapter_; |
std::unique_ptr<device::BluetoothDiscoverySession> |