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/settings/device_settings_service.h" | |
16 #include "chromeos/login/auth/auth_attempt_state.h" | 15 #include "chromeos/login/auth/auth_attempt_state.h" |
17 #include "chromeos/login/auth/auth_attempt_state_resolver.h" | 16 #include "chromeos/login/auth/auth_attempt_state_resolver.h" |
18 #include "chromeos/login/auth/authenticator.h" | 17 #include "chromeos/login/auth/authenticator.h" |
19 #include "chromeos/login/auth/test_attempt_state.h" | 18 #include "chromeos/login/auth/test_attempt_state.h" |
20 #include "google_apis/gaia/gaia_auth_consumer.h" | 19 #include "google_apis/gaia/gaia_auth_consumer.h" |
21 | 20 |
22 class AuthFailure; | 21 class AuthFailure; |
23 class Profile; | 22 class Profile; |
24 | 23 |
25 namespace chromeos { | 24 namespace chromeos { |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 // When |remove_user_data_on_failure_| is set, we delay calling | 241 // When |remove_user_data_on_failure_| is set, we delay calling |
243 // consumer_->OnAuthFailure() until we removed the user cryptohome. | 242 // consumer_->OnAuthFailure() until we removed the user cryptohome. |
244 const AuthFailure* delayed_login_failure_; | 243 const AuthFailure* delayed_login_failure_; |
245 | 244 |
246 DISALLOW_COPY_AND_ASSIGN(ParallelAuthenticator); | 245 DISALLOW_COPY_AND_ASSIGN(ParallelAuthenticator); |
247 }; | 246 }; |
248 | 247 |
249 } // namespace chromeos | 248 } // namespace chromeos |
250 | 249 |
251 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_AUTHENTICATOR_H_ | 250 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_AUTHENTICATOR_H_ |
OLD | NEW |