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_HOST_H_ | 5 #ifndef CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_ |
6 #define CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_ | 6 #define CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "chromeos/chromeos_export.h" | 13 #include "chromeos/chromeos_export.h" |
14 #include "chromeos/login/auth/auth_attempt_state_resolver.h" | 14 #include "chromeos/login/auth/auth_attempt_state_resolver.h" |
15 #include "chromeos/login/auth/user_context.h" | 15 #include "chromeos/login/auth/user_context.h" |
16 | 16 |
| 17 namespace base { |
| 18 // TODO(skyostil): Migrate to SingleThreadTaskRunner (crbug.com/465354). |
| 19 class MessageLoopProxy; |
| 20 } |
| 21 |
17 namespace net { | 22 namespace net { |
18 class URLRequestContextGetter; | 23 class URLRequestContextGetter; |
19 } | 24 } |
20 | 25 |
21 namespace chromeos { | 26 namespace chromeos { |
22 | 27 |
23 class AuthAttemptState; | 28 class AuthAttemptState; |
24 class OnlineAttempt; | 29 class OnlineAttempt; |
25 class UserContext; | 30 class UserContext; |
26 | 31 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 scoped_ptr<OnlineAttempt> online_attempt_; | 67 scoped_ptr<OnlineAttempt> online_attempt_; |
63 scoped_ptr<AuthAttemptState> state_; | 68 scoped_ptr<AuthAttemptState> state_; |
64 base::WeakPtrFactory<OnlineAttemptHost> weak_ptr_factory_; | 69 base::WeakPtrFactory<OnlineAttemptHost> weak_ptr_factory_; |
65 | 70 |
66 DISALLOW_COPY_AND_ASSIGN(OnlineAttemptHost); | 71 DISALLOW_COPY_AND_ASSIGN(OnlineAttemptHost); |
67 }; | 72 }; |
68 | 73 |
69 } // namespace chromeos | 74 } // namespace chromeos |
70 | 75 |
71 #endif // CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_ | 76 #endif // CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_ |
OLD | NEW |