OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 virtual void OnLoginSuccess( | 76 virtual void OnLoginSuccess( |
77 const std::string& username, | 77 const std::string& username, |
78 const std::string& password, | 78 const std::string& password, |
79 const GaiaAuthConsumer::ClientLoginResult& credentials, | 79 const GaiaAuthConsumer::ClientLoginResult& credentials, |
80 bool pending_requests); | 80 bool pending_requests); |
81 virtual void OnOffTheRecordLoginSuccess(); | 81 virtual void OnOffTheRecordLoginSuccess(); |
82 virtual void OnPasswordChangeDetected( | 82 virtual void OnPasswordChangeDetected( |
83 const GaiaAuthConsumer::ClientLoginResult& credentials); | 83 const GaiaAuthConsumer::ClientLoginResult& credentials); |
84 | 84 |
85 // SignedSettingsHelper::Callback implementation: | 85 // SignedSettingsHelper::Callback implementation: |
86 virtual void OnCheckWhiteListCompleted(bool success, | 86 virtual void OnCheckWhitelistCompleted(SignedSettings::ReturnCode code, |
87 const std::string& email); | 87 const std::string& email); |
88 | 88 |
89 // NotificationObserver implementation: | 89 // NotificationObserver implementation: |
90 virtual void Observe(NotificationType type, | 90 virtual void Observe(NotificationType type, |
91 const NotificationSource& source, | 91 const NotificationSource& source, |
92 const NotificationDetails& details); | 92 const NotificationDetails& details); |
93 | 93 |
94 // Performs login with the |username| and |password| specified. | 94 // Performs login with the |username| and |password| specified. |
95 void Login(const std::string& username, const std::string& password); | 95 void Login(const std::string& username, const std::string& password); |
96 | 96 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 bool screen_lock_requested_; | 179 bool screen_lock_requested_; |
180 | 180 |
181 ScopedRunnableMethodFactory<LoginPerformer> method_factory_; | 181 ScopedRunnableMethodFactory<LoginPerformer> method_factory_; |
182 | 182 |
183 DISALLOW_COPY_AND_ASSIGN(LoginPerformer); | 183 DISALLOW_COPY_AND_ASSIGN(LoginPerformer); |
184 }; | 184 }; |
185 | 185 |
186 } // namespace chromeos | 186 } // namespace chromeos |
187 | 187 |
188 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ | 188 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_PERFORMER_H_ |
OLD | NEW |