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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_CRYPTOHOME_OP_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_CRYPTOHOME_OP_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_CRYPTOHOME_OP_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_CRYPTOHOME_OP_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
12 #include "chrome/browser/browser_thread.h" | |
13 #include "chrome/browser/chromeos/cros/cryptohome_library.h" | 12 #include "chrome/browser/chromeos/cros/cryptohome_library.h" |
14 | 13 |
15 namespace chromeos { | 14 namespace chromeos { |
16 class AuthAttemptState; | 15 class AuthAttemptState; |
17 class AuthAttemptStateResolver; | 16 class AuthAttemptStateResolver; |
18 | 17 |
19 class CryptohomeOp | 18 class CryptohomeOp |
20 : public base::RefCountedThreadSafe<CryptohomeOp>, | 19 : public base::RefCountedThreadSafe<CryptohomeOp>, |
21 public CryptohomeLibrary::Delegate { | 20 public CryptohomeLibrary::Delegate { |
22 public: | 21 public: |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 AuthAttemptStateResolver* const resolver_; | 56 AuthAttemptStateResolver* const resolver_; |
58 | 57 |
59 private: | 58 private: |
60 friend class base::RefCountedThreadSafe<CryptohomeOp>; | 59 friend class base::RefCountedThreadSafe<CryptohomeOp>; |
61 DISALLOW_COPY_AND_ASSIGN(CryptohomeOp); | 60 DISALLOW_COPY_AND_ASSIGN(CryptohomeOp); |
62 }; | 61 }; |
63 | 62 |
64 } // namespace chromeos | 63 } // namespace chromeos |
65 | 64 |
66 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_CRYPTOHOME_OP_H_ | 65 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_CRYPTOHOME_OP_H_ |
OLD | NEW |