Chromium Code Reviews| 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 CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_ | 5 #ifndef CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_ |
| 6 #define CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_ | 6 #define 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 "chromeos/chromeos_export.h" | 15 #include "chromeos/chromeos_export.h" |
| 16 #include "chromeos/login/auth/auth_status_consumer.h" | 16 #include "chromeos/login/auth/auth_status_consumer.h" |
| 17 #include "google_apis/gaia/gaia_auth_consumer.h" | 17 #include "google_apis/gaia/gaia_auth_consumer.h" |
| 18 #include "google_apis/gaia/google_service_auth_error.h" | 18 #include "google_apis/gaia/google_service_auth_error.h" |
| 19 | 19 |
| 20 class GaiaAuthFetcher; | 20 class GaiaAuthFetcher; |
| 21 | 21 |
| 22 namespace base { | |
| 23 class MessageLoopProxy; | |
|
danakj
2015/04/21 20:16:31
TODO somewhere?
Sami
2015/04/23 17:48:25
Done.
| |
| 24 } | |
| 25 | |
| 22 namespace net { | 26 namespace net { |
| 23 class URLRequestContextGetter; | 27 class URLRequestContextGetter; |
| 24 } | 28 } |
| 25 | 29 |
| 26 namespace chromeos { | 30 namespace chromeos { |
| 27 class AuthAttemptState; | 31 class AuthAttemptState; |
| 28 class AuthAttemptStateResolver; | 32 class AuthAttemptStateResolver; |
| 29 | 33 |
| 30 class CHROMEOS_EXPORT OnlineAttempt : public GaiaAuthConsumer { | 34 class CHROMEOS_EXPORT OnlineAttempt : public GaiaAuthConsumer { |
| 31 public: | 35 public: |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 73 // Used to cancel the CancelClientLogin closure. | 77 // Used to cancel the CancelClientLogin closure. |
| 74 base::WeakPtrFactory<OnlineAttempt> weak_factory_; | 78 base::WeakPtrFactory<OnlineAttempt> weak_factory_; |
| 75 | 79 |
| 76 friend class OnlineAttemptTest; | 80 friend class OnlineAttemptTest; |
| 77 DISALLOW_COPY_AND_ASSIGN(OnlineAttempt); | 81 DISALLOW_COPY_AND_ASSIGN(OnlineAttempt); |
| 78 }; | 82 }; |
| 79 | 83 |
| 80 } // namespace chromeos | 84 } // namespace chromeos |
| 81 | 85 |
| 82 #endif // CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_ | 86 #endif // CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_ |
| OLD | NEW |