OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PARALLEL_AUTHENTICATOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_PARALLEL_AUTHENTICATOR_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_PARALLEL_AUTHENTICATOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_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_attempt_state.h" | 15 #include "chrome/browser/chromeos/login/auth_attempt_state.h" |
16 #include "chrome/browser/chromeos/login/auth_attempt_state_resolver.h" | 16 #include "chrome/browser/chromeos/login/auth_attempt_state_resolver.h" |
17 #include "chrome/browser/chromeos/login/authenticator.h" | 17 #include "chrome/browser/chromeos/login/authenticator.h" |
18 #include "chrome/browser/chromeos/login/online_attempt.h" | 18 #include "chrome/browser/chromeos/login/online_attempt.h" |
19 #include "chrome/browser/chromeos/login/test_attempt_state.h" | 19 #include "chrome/browser/chromeos/login/test_attempt_state.h" |
20 #include "chrome/browser/chromeos/settings/device_settings_service.h" | 20 #include "chrome/browser/chromeos/settings/device_settings_service.h" |
21 #include "chrome/common/net/gaia/gaia_auth_consumer.h" | 21 #include "google_apis/gaia/gaia_auth_consumer.h" |
22 | 22 |
23 class LoginFailure; | 23 class LoginFailure; |
24 class Profile; | 24 class Profile; |
25 | 25 |
26 namespace chromeos { | 26 namespace chromeos { |
27 | 27 |
28 class LoginStatusConsumer; | 28 class LoginStatusConsumer; |
29 | 29 |
30 // Authenticates a Chromium OS user against the Google Accounts ClientLogin API. | 30 // Authenticates a Chromium OS user against the Google Accounts ClientLogin API. |
31 // | 31 // |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 | 256 |
257 // True if we use OAuth-based authentication flow. | 257 // True if we use OAuth-based authentication flow. |
258 bool using_oauth_; | 258 bool using_oauth_; |
259 | 259 |
260 DISALLOW_COPY_AND_ASSIGN(ParallelAuthenticator); | 260 DISALLOW_COPY_AND_ASSIGN(ParallelAuthenticator); |
261 }; | 261 }; |
262 | 262 |
263 } // namespace chromeos | 263 } // namespace chromeos |
264 | 264 |
265 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PARALLEL_AUTHENTICATOR_H_ | 265 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PARALLEL_AUTHENTICATOR_H_ |
OLD | NEW |