| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "chrome/browser/chromeos/settings/device_settings_service.h" | 25 #include "chrome/browser/chromeos/settings/device_settings_service.h" |
| 26 #include "content/public/browser/notification_observer.h" | 26 #include "content/public/browser/notification_observer.h" |
| 27 #include "content/public/browser/notification_registrar.h" | 27 #include "content/public/browser/notification_registrar.h" |
| 28 #include "ui/gfx/rect.h" | 28 #include "ui/gfx/rect.h" |
| 29 #include "url/gurl.h" | 29 #include "url/gurl.h" |
| 30 | 30 |
| 31 namespace chromeos { | 31 namespace chromeos { |
| 32 | 32 |
| 33 class CrosSettings; | 33 class CrosSettings; |
| 34 class LoginDisplayHost; | 34 class LoginDisplayHost; |
| 35 class UserContext; |
| 35 | 36 |
| 36 namespace login { | 37 namespace login { |
| 37 class NetworkStateHelper; | 38 class NetworkStateHelper; |
| 38 } | 39 } |
| 39 | 40 |
| 40 // ExistingUserController is used to handle login when someone has | 41 // ExistingUserController is used to handle login when someone has |
| 41 // already logged into the machine. | 42 // already logged into the machine. |
| 42 // To use ExistingUserController create an instance of it and invoke Init. | 43 // To use ExistingUserController create an instance of it and invoke Init. |
| 43 // When Init is called it creates LoginDisplay instance which encapsulates | 44 // When Init is called it creates LoginDisplay instance which encapsulates |
| 44 // all login UI implementation. | 45 // all login UI implementation. |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 local_account_auto_login_delay_subscription_; | 313 local_account_auto_login_delay_subscription_; |
| 313 | 314 |
| 314 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin); | 315 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin); |
| 315 | 316 |
| 316 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 317 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
| 317 }; | 318 }; |
| 318 | 319 |
| 319 } // namespace chromeos | 320 } // namespace chromeos |
| 320 | 321 |
| 321 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 322 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| OLD | NEW |