| 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_LOGIN_PERFORMER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 bool pending_requests); | 82 bool pending_requests); |
| 83 virtual void OnOffTheRecordLoginSuccess(); | 83 virtual void OnOffTheRecordLoginSuccess(); |
| 84 virtual void OnPasswordChangeDetected( | 84 virtual void OnPasswordChangeDetected( |
| 85 const GaiaAuthConsumer::ClientLoginResult& credentials); | 85 const GaiaAuthConsumer::ClientLoginResult& credentials); |
| 86 | 86 |
| 87 // SignedSettingsHelper::Callback implementation: | 87 // SignedSettingsHelper::Callback implementation: |
| 88 virtual void OnCheckWhitelistCompleted(SignedSettings::ReturnCode code, | 88 virtual void OnCheckWhitelistCompleted(SignedSettings::ReturnCode code, |
| 89 const std::string& email); | 89 const std::string& email); |
| 90 | 90 |
| 91 // NotificationObserver implementation: | 91 // NotificationObserver implementation: |
| 92 virtual void Observe(NotificationType type, | 92 virtual void Observe(int type, |
| 93 const NotificationSource& source, | 93 const NotificationSource& source, |
| 94 const NotificationDetails& details); | 94 const NotificationDetails& details); |
| 95 | 95 |
| 96 // Performs login with the |username| and |password| specified. | 96 // Performs login with the |username| and |password| specified. |
| 97 void Login(const std::string& username, const std::string& password); | 97 void Login(const std::string& username, const std::string& password); |
| 98 | 98 |
| 99 // Performs actions to prepare Guest mode login. | 99 // Performs actions to prepare Guest mode login. |
| 100 void LoginOffTheRecord(); | 100 void LoginOffTheRecord(); |
| 101 | 101 |
| 102 // Migrates cryptohome using |old_password| specified. | 102 // Migrates cryptohome using |old_password| specified. |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 GaiaAuthConsumer::ClientLoginResult credentials_; | 191 GaiaAuthConsumer::ClientLoginResult credentials_; |
| 192 | 192 |
| 193 ScopedRunnableMethodFactory<LoginPerformer> method_factory_; | 193 ScopedRunnableMethodFactory<LoginPerformer> method_factory_; |
| 194 | 194 |
| 195 DISALLOW_COPY_AND_ASSIGN(LoginPerformer); | 195 DISALLOW_COPY_AND_ASSIGN(LoginPerformer); |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 } // namespace chromeos | 198 } // namespace chromeos |
| 199 | 199 |
| 200 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ | 200 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ |
| OLD | NEW |