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_ONLINE_ATTEMPT_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_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/login_status_consumer.h" |
16 #include "chrome/browser/net/gaia/gaia_oauth_consumer.h" | 16 #include "chrome/browser/net/gaia/gaia_oauth_consumer.h" |
17 #include "chrome/browser/net/gaia/gaia_oauth_fetcher.h" | 17 #include "chrome/browser/net/gaia/gaia_oauth_fetcher.h" |
18 #include "chrome/common/net/gaia/gaia_auth_consumer.h" | 18 #include "google_apis/gaia/gaia_auth_consumer.h" |
19 #include "chrome/common/net/gaia/google_service_auth_error.h" | 19 #include "google_apis/gaia/google_service_auth_error.h" |
20 | 20 |
21 class GaiaAuthFetcher; | 21 class GaiaAuthFetcher; |
22 class Profile; | 22 class Profile; |
23 | 23 |
24 namespace chromeos { | 24 namespace chromeos { |
25 class AuthAttemptState; | 25 class AuthAttemptState; |
26 class AuthAttemptStateResolver; | 26 class AuthAttemptStateResolver; |
27 | 27 |
28 class OnlineAttempt | 28 class OnlineAttempt |
29 : public GaiaAuthConsumer, | 29 : public GaiaAuthConsumer, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 // Whether we're willing to re-try the ClientLogin attempt. | 85 // Whether we're willing to re-try the ClientLogin attempt. |
86 bool try_again_; | 86 bool try_again_; |
87 | 87 |
88 friend class OnlineAttemptTest; | 88 friend class OnlineAttemptTest; |
89 DISALLOW_COPY_AND_ASSIGN(OnlineAttempt); | 89 DISALLOW_COPY_AND_ASSIGN(OnlineAttempt); |
90 }; | 90 }; |
91 | 91 |
92 } // namespace chromeos | 92 } // namespace chromeos |
93 | 93 |
94 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_H_ | 94 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_H_ |
OLD | NEW |