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_ONLINE_ATTEMPT_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "chrome/browser/chromeos/login/login_status_consumer.h" | 15 #include "chrome/browser/chromeos/login/auth/login_status_consumer.h" |
16 #include "google_apis/gaia/gaia_auth_consumer.h" | 16 #include "google_apis/gaia/gaia_auth_consumer.h" |
17 #include "google_apis/gaia/google_service_auth_error.h" | 17 #include "google_apis/gaia/google_service_auth_error.h" |
18 | 18 |
19 class GaiaAuthFetcher; | 19 class GaiaAuthFetcher; |
20 class Profile; | 20 class Profile; |
21 | 21 |
22 namespace chromeos { | 22 namespace chromeos { |
23 class AuthAttemptState; | 23 class AuthAttemptState; |
24 class AuthAttemptStateResolver; | 24 class AuthAttemptStateResolver; |
25 | 25 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 // Whether we're willing to re-try the ClientLogin attempt. | 69 // Whether we're willing to re-try the ClientLogin attempt. |
70 bool try_again_; | 70 bool try_again_; |
71 | 71 |
72 friend class OnlineAttemptTest; | 72 friend class OnlineAttemptTest; |
73 DISALLOW_COPY_AND_ASSIGN(OnlineAttempt); | 73 DISALLOW_COPY_AND_ASSIGN(OnlineAttempt); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace chromeos | 76 } // namespace chromeos |
77 | 77 |
78 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_H_ | 78 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_ |
OLD | NEW |