| 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/auth_attempt_state.h" | 5 #include "chromeos/login/auth/auth_attempt_state.h" |
| 6 | 6 |
| 7 #include <string> | |
| 8 | 7 |
| 9 #include "google_apis/gaia/gaia_auth_consumer.h" | |
| 10 #include "google_apis/gaia/gaia_auth_fetcher.h" | |
| 11 | 8 |
| 12 namespace chromeos { | 9 namespace chromeos { |
| 13 | 10 |
| 14 AuthAttemptState::AuthAttemptState(const UserContext& user_context, | 11 AuthAttemptState::AuthAttemptState(const UserContext& user_context, |
| 15 user_manager::UserType user_type, | 12 user_manager::UserType user_type, |
| 16 bool unlock, | 13 bool unlock, |
| 17 bool online_complete, | 14 bool online_complete, |
| 18 bool user_is_new) | 15 bool user_is_new) |
| 19 : user_context(user_context), | 16 : user_context(user_context), |
| 20 user_type(user_type), | 17 user_type(user_type), |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 102 |
| 106 bool AuthAttemptState::username_hash_obtained() { | 103 bool AuthAttemptState::username_hash_obtained() { |
| 107 return username_hash_obtained_; | 104 return username_hash_obtained_; |
| 108 } | 105 } |
| 109 | 106 |
| 110 bool AuthAttemptState::username_hash_valid() { | 107 bool AuthAttemptState::username_hash_valid() { |
| 111 return username_hash_obtained_; | 108 return username_hash_obtained_; |
| 112 } | 109 } |
| 113 | 110 |
| 114 } // namespace chromeos | 111 } // namespace chromeos |
| OLD | NEW |