| 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_EXISTING_USER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 virtual void CreateAccount() OVERRIDE; | 62 virtual void CreateAccount() OVERRIDE; |
| 63 virtual string16 GetConnectedNetworkName() OVERRIDE; | 63 virtual string16 GetConnectedNetworkName() OVERRIDE; |
| 64 virtual void FixCaptivePortal() OVERRIDE; | 64 virtual void FixCaptivePortal() OVERRIDE; |
| 65 virtual void Login(const std::string& username, | 65 virtual void Login(const std::string& username, |
| 66 const std::string& password) OVERRIDE; | 66 const std::string& password) OVERRIDE; |
| 67 virtual void LoginAsGuest() OVERRIDE; | 67 virtual void LoginAsGuest() OVERRIDE; |
| 68 virtual void OnUserSelected(const std::string& username) OVERRIDE; | 68 virtual void OnUserSelected(const std::string& username) OVERRIDE; |
| 69 virtual void OnStartEnterpriseEnrollment() OVERRIDE; | 69 virtual void OnStartEnterpriseEnrollment() OVERRIDE; |
| 70 | 70 |
| 71 // NotificationObserver implementation. | 71 // NotificationObserver implementation. |
| 72 virtual void Observe(NotificationType type, | 72 virtual void Observe(int type, |
| 73 const NotificationSource& source, | 73 const NotificationSource& source, |
| 74 const NotificationDetails& details); | 74 const NotificationDetails& details); |
| 75 | 75 |
| 76 // Set a delegate that we will pass LoginStatusConsumer events to. | 76 // Set a delegate that we will pass LoginStatusConsumer events to. |
| 77 // Used for testing. | 77 // Used for testing. |
| 78 void set_login_status_consumer(LoginStatusConsumer* consumer) { | 78 void set_login_status_consumer(LoginStatusConsumer* consumer) { |
| 79 login_status_consumer_ = consumer; | 79 login_status_consumer_ = consumer; |
| 80 } | 80 } |
| 81 | 81 |
| 82 // Returns the LoginDisplay instance created and owned by this controller. | 82 // Returns the LoginDisplay instance created and owned by this controller. |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 scoped_ptr<OwnershipStatusChecker> ownership_checker_; | 187 scoped_ptr<OwnershipStatusChecker> ownership_checker_; |
| 188 | 188 |
| 189 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, NewUserLogin); | 189 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, NewUserLogin); |
| 190 | 190 |
| 191 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 191 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
| 192 }; | 192 }; |
| 193 | 193 |
| 194 } // namespace chromeos | 194 } // namespace chromeos |
| 195 | 195 |
| 196 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 196 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| OLD | NEW |