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_LOGIN_DISPLAY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 virtual void CancelPasswordChangedFlow() = 0; | 35 virtual void CancelPasswordChangedFlow() = 0; |
36 | 36 |
37 // Create new Google account. | 37 // Create new Google account. |
38 virtual void CreateAccount() = 0; | 38 virtual void CreateAccount() = 0; |
39 | 39 |
40 // Complete sign process with specified |user_context|. | 40 // Complete sign process with specified |user_context|. |
41 // Used for new users authenticated through an extension. | 41 // Used for new users authenticated through an extension. |
42 virtual void CompleteLogin(const UserContext& user_context) = 0; | 42 virtual void CompleteLogin(const UserContext& user_context) = 0; |
43 | 43 |
44 // Returns name of the currently connected network. | 44 // Returns name of the currently connected network. |
45 virtual string16 GetConnectedNetworkName() = 0; | 45 virtual base::string16 GetConnectedNetworkName() = 0; |
46 | 46 |
47 // Returns true if sign in is in progress. | 47 // Returns true if sign in is in progress. |
48 virtual bool IsSigninInProgress() const = 0; | 48 virtual bool IsSigninInProgress() const = 0; |
49 | 49 |
50 // Sign in using |username| and |password| specified. | 50 // Sign in using |username| and |password| specified. |
51 // Used for known users only. | 51 // Used for known users only. |
52 virtual void Login(const UserContext& user_context) = 0; | 52 virtual void Login(const UserContext& user_context) = 0; |
53 | 53 |
54 // Sign in as a retail mode user. | 54 // Sign in as a retail mode user. |
55 virtual void LoginAsRetailModeUser() = 0; | 55 virtual void LoginAsRetailModeUser() = 0; |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 // in redesigned login stack. | 194 // in redesigned login stack. |
195 // Login stack (and this object) will be recreated for next user sign in. | 195 // Login stack (and this object) will be recreated for next user sign in. |
196 bool is_signin_completed_; | 196 bool is_signin_completed_; |
197 | 197 |
198 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); | 198 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); |
199 }; | 199 }; |
200 | 200 |
201 } // namespace chromeos | 201 } // namespace chromeos |
202 | 202 |
203 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ | 203 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ |
OLD | NEW |