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_MANAGED_LOCALLY_MANAGED_USER_CREATION_FLOW
_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_FLOW
_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_FLOW
_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_FLOW
_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 // Password for user being created. | 36 // Password for user being created. |
37 std::string password_; | 37 std::string password_; |
38 | 38 |
39 // Indicates if manager OAuth2 token has been validated. | 39 // Indicates if manager OAuth2 token has been validated. |
40 bool token_validated_; | 40 bool token_validated_; |
41 | 41 |
42 // Indicates if manager was successfully authenticated against | 42 // Indicates if manager was successfully authenticated against |
43 // local cryptohome. | 43 // local cryptohome. |
44 bool logged_in_; | 44 bool logged_in_; |
45 | 45 |
| 46 // Indicates that cryptohome is mounted and OAuth2 token is validated. |
| 47 // Used to avoid multiple notifications. |
| 48 bool session_started_; |
| 49 |
46 Profile* manager_profile_; | 50 Profile* manager_profile_; |
47 | 51 |
48 DISALLOW_COPY_AND_ASSIGN(LocallyManagedUserCreationFlow); | 52 DISALLOW_COPY_AND_ASSIGN(LocallyManagedUserCreationFlow); |
49 }; | 53 }; |
50 | 54 |
51 } // namespace chromeos | 55 } // namespace chromeos |
52 | 56 |
53 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_F
LOW_H_ | 57 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_F
LOW_H_ |
OLD | NEW |