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_HOST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_HOST_H_ | 6 #define CHROME_BROWSER_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 "chrome/browser/chromeos/login/auth_attempt_state_resolver.h" | 13 #include "chrome/browser/chromeos/login/auth/auth_attempt_state_resolver.h" |
14 | 14 |
15 class Profile; | 15 class Profile; |
16 | 16 |
17 namespace chromeos { | 17 namespace chromeos { |
18 | 18 |
19 class AuthAttemptState; | 19 class AuthAttemptState; |
20 class OnlineAttempt; | 20 class OnlineAttempt; |
21 class UserContext; | 21 class UserContext; |
22 | 22 |
23 // Helper class which hosts OnlineAttempt for online credentials checking. | 23 // Helper class which hosts OnlineAttempt for online credentials checking. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 std::string current_username_; | 55 std::string current_username_; |
56 scoped_ptr<OnlineAttempt> online_attempt_; | 56 scoped_ptr<OnlineAttempt> online_attempt_; |
57 scoped_ptr<AuthAttemptState> state_; | 57 scoped_ptr<AuthAttemptState> state_; |
58 base::WeakPtrFactory<OnlineAttemptHost> weak_ptr_factory_; | 58 base::WeakPtrFactory<OnlineAttemptHost> weak_ptr_factory_; |
59 | 59 |
60 DISALLOW_COPY_AND_ASSIGN(OnlineAttemptHost); | 60 DISALLOW_COPY_AND_ASSIGN(OnlineAttemptHost); |
61 }; | 61 }; |
62 | 62 |
63 } // namespace chromeos | 63 } // namespace chromeos |
64 | 64 |
65 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_HOST_H_ | 65 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_ |
66 | 66 |
OLD | NEW |