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 | |
22 namespace net { | 17 namespace net { |
23 class URLRequestContextGetter; | 18 class URLRequestContextGetter; |
24 } | 19 } |
25 | 20 |
26 namespace chromeos { | 21 namespace chromeos { |
27 | 22 |
28 class AuthAttemptState; | 23 class AuthAttemptState; |
29 class OnlineAttempt; | 24 class OnlineAttempt; |
30 class UserContext; | 25 class UserContext; |
31 | 26 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 scoped_ptr<OnlineAttempt> online_attempt_; | 62 scoped_ptr<OnlineAttempt> online_attempt_; |
68 scoped_ptr<AuthAttemptState> state_; | 63 scoped_ptr<AuthAttemptState> state_; |
69 base::WeakPtrFactory<OnlineAttemptHost> weak_ptr_factory_; | 64 base::WeakPtrFactory<OnlineAttemptHost> weak_ptr_factory_; |
70 | 65 |
71 DISALLOW_COPY_AND_ASSIGN(OnlineAttemptHost); | 66 DISALLOW_COPY_AND_ASSIGN(OnlineAttemptHost); |
72 }; | 67 }; |
73 | 68 |
74 } // namespace chromeos | 69 } // namespace chromeos |
75 | 70 |
76 #endif // CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_ | 71 #endif // CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_ |
OLD | NEW |