Chromium Code Reviews| 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 |
| 14 // general enough to be put to UserContext. | 14 // general enough to be put to UserContext. |
| 15 struct SigninSpecifics { | 15 struct SigninSpecifics { |
| 16 SigninSpecifics(); | 16 SigninSpecifics(); |
|
achuithb
2017/02/15 10:54:57
You should be able to drop this and delete the .cc
xiyuan
2017/02/15 19:08:10
Done.
| |
| 17 | 17 |
| 18 // Specifies url that should be shown during Guest signin. | 18 // Specifies url that should be shown during Guest signin. |
| 19 std::string guest_mode_url; | 19 std::string guest_mode_url; |
| 20 | 20 |
| 21 // Specifies if locale should be passed to guest mode url. | 21 // Specifies if locale should be passed to guest mode url. |
| 22 bool guest_mode_url_append_locale; | 22 bool guest_mode_url_append_locale = false; |
| 23 | 23 |
| 24 // Controls diagnostic mode for Kiosk App signin. | 24 // Controls diagnostic mode for Kiosk App signin. |
| 25 bool kiosk_diagnostic_mode; | 25 bool kiosk_diagnostic_mode = false; |
| 26 | |
| 27 // Whether it is an automatic login. | |
| 28 bool is_auto_login = false; | |
| 26 }; | 29 }; |
| 27 | 30 |
| 28 } // namespace chromeos | 31 } // namespace chromeos |
| 29 | 32 |
| 30 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_ | 33 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_ |
| OLD | NEW |