| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BASE_LOGIN_DISPLAY_HOST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 // Returns the default LoginDispalyHost instance if it has been created. | 46 // Returns the default LoginDispalyHost instance if it has been created. |
| 47 static LoginDisplayHost* default_host() { | 47 static LoginDisplayHost* default_host() { |
| 48 return default_host_; | 48 return default_host_; |
| 49 } | 49 } |
| 50 | 50 |
| 51 // Registers preferences in local state. | 51 // Registers preferences in local state. |
| 52 static void RegisterPrefs(PrefService* local_state); | 52 static void RegisterPrefs(PrefService* local_state); |
| 53 | 53 |
| 54 // LoginDisplayHost implementation: | 54 // LoginDisplayHost implementation: |
| 55 virtual void OnSessionStart() OVERRIDE; | 55 virtual void OnSessionStart() OVERRIDE; |
| 56 virtual void PreSessionStart() OVERRIDE; |
| 56 virtual void StartWizard( | 57 virtual void StartWizard( |
| 57 const std::string& first_screen_name, | 58 const std::string& first_screen_name, |
| 58 DictionaryValue* screen_parameters) OVERRIDE; | 59 DictionaryValue* screen_parameters) OVERRIDE; |
| 59 virtual void StartSignInScreen() OVERRIDE; | 60 virtual void StartSignInScreen() OVERRIDE; |
| 60 virtual void ResumeSignInScreen() OVERRIDE; | 61 virtual void ResumeSignInScreen() OVERRIDE; |
| 61 virtual void CheckForAutoEnrollment() OVERRIDE; | 62 virtual void CheckForAutoEnrollment() OVERRIDE; |
| 62 | 63 |
| 63 // Creates specific WizardController. | 64 // Creates specific WizardController. |
| 64 virtual WizardController* CreateWizardController() = 0; | 65 virtual WizardController* CreateWizardController() = 0; |
| 65 | 66 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 118 |
| 118 // Used to verify if the device has already been owned. | 119 // Used to verify if the device has already been owned. |
| 119 scoped_ptr<OwnershipStatusChecker> ownership_status_checker_; | 120 scoped_ptr<OwnershipStatusChecker> ownership_status_checker_; |
| 120 | 121 |
| 121 DISALLOW_COPY_AND_ASSIGN(BaseLoginDisplayHost); | 122 DISALLOW_COPY_AND_ASSIGN(BaseLoginDisplayHost); |
| 122 }; | 123 }; |
| 123 | 124 |
| 124 } // namespace chromeos | 125 } // namespace chromeos |
| 125 | 126 |
| 126 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ | 127 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_BASE_LOGIN_DISPLAY_HOST_H_ |
| OLD | NEW |