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 #include "chromeos/login/auth/test_attempt_state.h" | 5 #include "chromeos/login/auth/test_attempt_state.h" |
6 | 6 |
7 #include "components/user_manager/user_type.h" | 7 #include "components/user_manager/user_type.h" |
8 #include "google_apis/gaia/gaia_auth_consumer.h" | |
9 | 8 |
10 namespace chromeos { | 9 namespace chromeos { |
11 | 10 |
12 TestAttemptState::TestAttemptState(const UserContext& credentials, | 11 TestAttemptState::TestAttemptState(const UserContext& credentials, |
13 const bool user_is_new) | 12 const bool user_is_new) |
14 : AuthAttemptState(credentials, | 13 : AuthAttemptState(credentials, |
15 user_manager::USER_TYPE_REGULAR, | 14 user_manager::USER_TYPE_REGULAR, |
16 false, // unlock | 15 false, // unlock |
17 false, // online_complete | 16 false, // online_complete |
18 user_is_new) { | 17 user_is_new) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 59 |
61 bool TestAttemptState::cryptohome_outcome() { | 60 bool TestAttemptState::cryptohome_outcome() { |
62 return cryptohome_outcome_; | 61 return cryptohome_outcome_; |
63 } | 62 } |
64 | 63 |
65 cryptohome::MountError TestAttemptState::cryptohome_code() { | 64 cryptohome::MountError TestAttemptState::cryptohome_code() { |
66 return cryptohome_code_; | 65 return cryptohome_code_; |
67 } | 66 } |
68 | 67 |
69 } // namespace chromeos | 68 } // namespace chromeos |
OLD | NEW |