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_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_ | 5 #ifndef CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_ |
6 #define CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_ | 6 #define CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 const Authorization& auth, | 50 const Authorization& auth, |
51 const KeyDefinition& key, | 51 const KeyDefinition& key, |
52 const std::string& signature, | 52 const std::string& signature, |
53 const Callback& callback)); | 53 const Callback& callback)); |
54 | 54 |
55 private: | 55 private: |
56 bool success_; | 56 bool success_; |
57 MountError return_code_; | 57 MountError return_code_; |
58 | 58 |
59 void DoCallback(const Callback& callback); | 59 void DoCallback(const Callback& callback); |
| 60 void DoGetDataCallback(const GetKeyDataCallback& callback); |
60 void DoMountCallback(const MountCallback& callback); | 61 void DoMountCallback(const MountCallback& callback); |
61 | 62 |
62 DISALLOW_COPY_AND_ASSIGN(MockHomedirMethods); | 63 DISALLOW_COPY_AND_ASSIGN(MockHomedirMethods); |
63 }; | 64 }; |
64 | 65 |
65 } // namespace cryptohome | 66 } // namespace cryptohome |
66 | 67 |
67 #endif // CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_ | 68 #endif // CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_ |
OLD | NEW |