| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.
h" | 9 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.
h" |
| 10 #include "chrome/browser/chromeos/login/screens/base_screen.h" | 10 #include "chrome/browser/chromeos/login/screens/base_screen.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 HostPairingScreenActor* actor, | 42 HostPairingScreenActor* actor, |
| 43 pairing_chromeos::HostPairingController* remora_controller); | 43 pairing_chromeos::HostPairingController* remora_controller); |
| 44 ~HostPairingScreen() override; | 44 ~HostPairingScreen() override; |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 typedef pairing_chromeos::HostPairingController::Stage Stage; | 47 typedef pairing_chromeos::HostPairingController::Stage Stage; |
| 48 | 48 |
| 49 void CommitContextChanges(); | 49 void CommitContextChanges(); |
| 50 | 50 |
| 51 // Overridden from BaseScreen: | 51 // Overridden from BaseScreen: |
| 52 void PrepareToShow() override; | |
| 53 void Show() override; | 52 void Show() override; |
| 54 void Hide() override; | 53 void Hide() override; |
| 55 std::string GetName() const override; | 54 std::string GetName() const override; |
| 56 | 55 |
| 57 // pairing_chromeos::HostPairingController::Observer: | 56 // pairing_chromeos::HostPairingController::Observer: |
| 58 void PairingStageChanged(Stage new_stage) override; | 57 void PairingStageChanged(Stage new_stage) override; |
| 59 void ConfigureHostRequested(bool accepted_eula, | 58 void ConfigureHostRequested(bool accepted_eula, |
| 60 const std::string& lang, | 59 const std::string& lang, |
| 61 const std::string& timezone, | 60 const std::string& timezone, |
| 62 bool send_reports, | 61 bool send_reports, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 92 Stage current_stage_; | 91 Stage current_stage_; |
| 93 | 92 |
| 94 base::WeakPtrFactory<HostPairingScreen> weak_ptr_factory_; | 93 base::WeakPtrFactory<HostPairingScreen> weak_ptr_factory_; |
| 95 | 94 |
| 96 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen); | 95 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen); |
| 97 }; | 96 }; |
| 98 | 97 |
| 99 } // namespace chromeos | 98 } // namespace chromeos |
| 100 | 99 |
| 101 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ | 100 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ |
| OLD | NEW |