Chromium Code Reviews| Index: chrome/browser/chromeos/login/screens/update_screen.h |
| diff --git a/chrome/browser/chromeos/login/screens/update_screen.h b/chrome/browser/chromeos/login/screens/update_screen.h |
| index 024a70d2e4a7a753f85febae59286e7148849c67..da86d4337a5c3aef08b1843fb71ae82acd9d88a7 100644 |
| --- a/chrome/browser/chromeos/login/screens/update_screen.h |
| +++ b/chrome/browser/chromeos/login/screens/update_screen.h |
| @@ -17,6 +17,7 @@ |
| #include "chrome/browser/chromeos/login/screens/wizard_screen.h" |
| #include "chromeos/dbus/update_engine_client.h" |
| #include "chromeos/network/portal_detector/network_portal_detector.h" |
| +#include "components/pairing/host_pairing_controller.h" |
| namespace chromeos { |
| @@ -33,7 +34,8 @@ class UpdateScreen: public UpdateEngineClient::Observer, |
| public WizardScreen, |
| public NetworkPortalDetector::Observer { |
| public: |
| - UpdateScreen(ScreenObserver* screen_observer, UpdateScreenActor* actor); |
| + UpdateScreen(ScreenObserver* screen_observer, UpdateScreenActor* actor, |
| + pairing_chromeos::HostPairingController* remora_controller); |
|
Zachary Kuznia
2014/10/14 00:23:42
Fix the indent here.
achuithb
2014/10/14 01:42:10
Done.
|
| virtual ~UpdateScreen(); |
| static UpdateScreen* Get(ScreenManager* manager); |
| @@ -105,6 +107,10 @@ class UpdateScreen: public UpdateEngineClient::Observer, |
| // Checks that screen is shown, shows if not. |
| void MakeSureScreenIsShown(); |
| + // Send update status to host pairing controller. |
| + void SetHostPairingControllerStatus( |
| + pairing_chromeos::HostPairingController::UpdateStatus update_status); |
| + |
| // Returns an instance of the error screen. |
| ErrorScreen* GetErrorScreen(); |
| @@ -145,6 +151,9 @@ class UpdateScreen: public UpdateEngineClient::Observer, |
| // Keeps actor which is delegated with all showing operations. |
| UpdateScreenActor* actor_; |
| + // Used to track updates over Bluetooth. |
| + pairing_chromeos::HostPairingController* remora_controller_; |
| + |
| // Time of the first notification from the downloading stage. |
| base::Time download_start_time_; |
| double download_start_progress_; |