OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/browser/chromeos/login/cryptohome_op.h" | 5 #include "chrome/browser/chromeos/login/cryptohome_op.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
| 9 #include "chrome/browser/browser_thread.h" |
9 #include "chrome/browser/chromeos/cros/cros_library.h" | 10 #include "chrome/browser/chromeos/cros/cros_library.h" |
10 #include "chrome/browser/chromeos/cros/cryptohome_library.h" | 11 #include "chrome/browser/chromeos/cros/cryptohome_library.h" |
11 #include "chrome/browser/chromeos/login/auth_attempt_state.h" | 12 #include "chrome/browser/chromeos/login/auth_attempt_state.h" |
12 #include "chrome/browser/chromeos/login/auth_attempt_state_resolver.h" | 13 #include "chrome/browser/chromeos/login/auth_attempt_state_resolver.h" |
13 | 14 |
14 namespace chromeos { | 15 namespace chromeos { |
15 | 16 |
16 CryptohomeOp::CryptohomeOp(AuthAttemptState* current_attempt, | 17 CryptohomeOp::CryptohomeOp(AuthAttemptState* current_attempt, |
17 AuthAttemptStateResolver* callback) | 18 AuthAttemptStateResolver* callback) |
18 : attempt_(current_attempt), | 19 : attempt_(current_attempt), |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 | 189 |
189 // static | 190 // static |
190 CryptohomeOp* CryptohomeOp::CreateCheckKeyAttempt( | 191 CryptohomeOp* CryptohomeOp::CreateCheckKeyAttempt( |
191 AuthAttemptState* current_attempt, | 192 AuthAttemptState* current_attempt, |
192 AuthAttemptStateResolver* callback) { | 193 AuthAttemptStateResolver* callback) { |
193 | 194 |
194 return new CheckKeyAttempt(current_attempt, callback); | 195 return new CheckKeyAttempt(current_attempt, callback); |
195 } | 196 } |
196 | 197 |
197 } // namespace chromeos | 198 } // namespace chromeos |
OLD | NEW |