| 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 CHROMEOS_LOGIN_AUTH_AUTH_ATTEMPT_STATE_H_ | 5 #ifndef CHROMEOS_LOGIN_AUTH_AUTH_ATTEMPT_STATE_H_ |
| 6 #define CHROMEOS_LOGIN_AUTH_AUTH_ATTEMPT_STATE_H_ | 6 #define CHROMEOS_LOGIN_AUTH_AUTH_ATTEMPT_STATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 11 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
| 12 #include "chromeos/login/auth/auth_status_consumer.h" | 13 #include "chromeos/login/auth/auth_status_consumer.h" |
| 13 #include "chromeos/login/auth/user_context.h" | 14 #include "chromeos/login/auth/user_context.h" |
| 14 #include "google_apis/gaia/gaia_auth_consumer.h" | 15 #include "google_apis/gaia/gaia_auth_consumer.h" |
| 15 #include "third_party/cros_system_api/dbus/service_constants.h" | 16 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 16 | 17 |
| 17 namespace chromeos { | 18 namespace chromeos { |
| 18 | 19 |
| 19 // Tracks the state associated with a single attempt to log in to chromium OS. | 20 // Tracks the state associated with a single attempt to log in to chromium OS. |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 // After the username hash request is completed, this marks whether | 99 // After the username hash request is completed, this marks whether |
| 99 // the request was successful. | 100 // the request was successful. |
| 100 bool username_hash_valid_; | 101 bool username_hash_valid_; |
| 101 | 102 |
| 102 DISALLOW_COPY_AND_ASSIGN(AuthAttemptState); | 103 DISALLOW_COPY_AND_ASSIGN(AuthAttemptState); |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 } // namespace chromeos | 106 } // namespace chromeos |
| 106 | 107 |
| 107 #endif // CHROMEOS_LOGIN_AUTH_AUTH_ATTEMPT_STATE_H_ | 108 #endif // CHROMEOS_LOGIN_AUTH_AUTH_ATTEMPT_STATE_H_ |
| OLD | NEW |