| 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_AUTH_PARALLEL_AUTHENTICATOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_AUTHENTICATOR_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_AUTHENTICATOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_AUTHENTICATOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
| 15 #include "chrome/browser/chromeos/login/auth/auth_attempt_state.h" | |
| 16 #include "chrome/browser/chromeos/login/auth/auth_attempt_state_resolver.h" | |
| 17 #include "chrome/browser/chromeos/login/auth/authenticator.h" | |
| 18 #include "chrome/browser/chromeos/login/auth/test_attempt_state.h" | |
| 19 #include "chrome/browser/chromeos/settings/device_settings_service.h" | 15 #include "chrome/browser/chromeos/settings/device_settings_service.h" |
| 16 #include "chromeos/login/auth/auth_attempt_state.h" |
| 17 #include "chromeos/login/auth/auth_attempt_state_resolver.h" |
| 18 #include "chromeos/login/auth/authenticator.h" |
| 19 #include "chromeos/login/auth/test_attempt_state.h" |
| 20 #include "google_apis/gaia/gaia_auth_consumer.h" | 20 #include "google_apis/gaia/gaia_auth_consumer.h" |
| 21 | 21 |
| 22 class AuthFailure; | 22 class AuthFailure; |
| 23 class Profile; | 23 class Profile; |
| 24 | 24 |
| 25 namespace chromeos { | 25 namespace chromeos { |
| 26 | 26 |
| 27 class AuthStatusConsumer; | 27 class AuthStatusConsumer; |
| 28 | 28 |
| 29 // Authenticates a Chromium OS user against cryptohome. | 29 // Authenticates a Chromium OS user against cryptohome. |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 // When |remove_user_data_on_failure_| is set, we delay calling | 242 // When |remove_user_data_on_failure_| is set, we delay calling |
| 243 // consumer_->OnAuthFailure() until we removed the user cryptohome. | 243 // consumer_->OnAuthFailure() until we removed the user cryptohome. |
| 244 const AuthFailure* delayed_login_failure_; | 244 const AuthFailure* delayed_login_failure_; |
| 245 | 245 |
| 246 DISALLOW_COPY_AND_ASSIGN(ParallelAuthenticator); | 246 DISALLOW_COPY_AND_ASSIGN(ParallelAuthenticator); |
| 247 }; | 247 }; |
| 248 | 248 |
| 249 } // namespace chromeos | 249 } // namespace chromeos |
| 250 | 250 |
| 251 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_AUTHENTICATOR_H_ | 251 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_AUTHENTICATOR_H_ |
| OLD | NEW |