1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CORE_OOBE_ACTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CORE_OOBE_ACTOR_H_
10 #include "chrome/browser/chromeos/login/help_app_launcher.h"
13 class DictionaryValue;
20 virtual ~CoreOobeActor() {}
22 virtual void ShowSignInError(int login_attempts,
23 const std::string& error_text,
24 const std::string& help_link_text,
25 HelpAppLauncher::HelpTopic help_topic_id) = 0;
26 virtual void ShowTpmError() = 0;
27 virtual void ShowSignInUI(const std::string& email) = 0;
28 virtual void ResetSignInUI(bool force_online) = 0;
29 virtual void ClearUserPodPassword() = 0;
30 virtual void RefocusCurrentPod() = 0;
31 virtual void OnLoginSuccess(const std::string& username) = 0;
32 virtual void ShowPasswordChangedScreen(bool show_password_error) = 0;
33 virtual void SetUsageStats(bool checked) = 0;
34 virtual void SetOemEulaUrl(const std::string& oem_eula_url) = 0;
35 virtual void SetTpmPassword(const std::string& tmp_password) = 0;
36 virtual void ClearErrors() = 0;
37 virtual void ReloadContent(const base::DictionaryValue& dictionary) = 0;
40 } // namespace chromeos
42 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_CORE_OOBE_ACTOR_H_