OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SIGNIN_SPECIFICS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
11 | 11 |
12 // This structure encapsulates some specific parameters of signin flows that are | 12 // This structure encapsulates some specific parameters of signin flows that are |
13 // not | 13 // not general enough to be put to UserContext. |
14 // general enough to be put to UserContext. | |
15 struct SigninSpecifics { | 14 struct SigninSpecifics { |
16 SigninSpecifics(); | 15 SigninSpecifics() {} |
17 | 16 |
18 // Specifies url that should be shown during Guest signin. | 17 // Specifies url that should be shown during Guest signin. |
19 std::string guest_mode_url; | 18 std::string guest_mode_url; |
20 | 19 |
21 // Specifies if locale should be passed to guest mode url. | 20 // Specifies if locale should be passed to guest mode url. |
22 bool guest_mode_url_append_locale; | 21 bool guest_mode_url_append_locale = false; |
23 | 22 |
24 // Controls diagnostic mode for Kiosk App signin. | 23 // Controls diagnostic mode for Kiosk App signin. |
25 bool kiosk_diagnostic_mode; | 24 bool kiosk_diagnostic_mode = false; |
| 25 |
| 26 // Whether it is an automatic login. |
| 27 bool is_auto_login = false; |
26 }; | 28 }; |
27 | 29 |
28 } // namespace chromeos | 30 } // namespace chromeos |
29 | 31 |
30 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_ | 32 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_ |
OLD | NEW |