| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Show() override; | 52 void Show() override; |
| 53 void Hide() override; | 53 void Hide() override; |
| 54 std::string GetName() const override; | |
| 55 | 54 |
| 56 // pairing_chromeos::HostPairingController::Observer: | 55 // pairing_chromeos::HostPairingController::Observer: |
| 57 void PairingStageChanged(Stage new_stage) override; | 56 void PairingStageChanged(Stage new_stage) override; |
| 58 void ConfigureHostRequested(bool accepted_eula, | 57 void ConfigureHostRequested(bool accepted_eula, |
| 59 const std::string& lang, | 58 const std::string& lang, |
| 60 const std::string& timezone, | 59 const std::string& timezone, |
| 61 bool send_reports, | 60 bool send_reports, |
| 62 const std::string& keyboard_layout) override; | 61 const std::string& keyboard_layout) override; |
| 63 void AddNetworkRequested(const std::string& onc_spec) override; | 62 void AddNetworkRequested(const std::string& onc_spec) override; |
| 64 void EnrollHostRequested(const std::string& auth_token) override; | 63 void EnrollHostRequested(const std::string& auth_token) override; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 91 Stage current_stage_; | 90 Stage current_stage_; |
| 92 | 91 |
| 93 base::WeakPtrFactory<HostPairingScreen> weak_ptr_factory_; | 92 base::WeakPtrFactory<HostPairingScreen> weak_ptr_factory_; |
| 94 | 93 |
| 95 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen); | 94 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen); |
| 96 }; | 95 }; |
| 97 | 96 |
| 98 } // namespace chromeos | 97 } // namespace chromeos |
| 99 | 98 |
| 100 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ | 99 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ |
| OLD | NEW |