Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: chrome/browser/chromeos/login/auth/parallel_authenticator.h

Issue 413473003: Revert of Refactoring : Move AuthAttempt and Authenticators to chromeos/login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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"
15 #include "chrome/browser/chromeos/settings/device_settings_service.h" 19 #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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698