| 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 CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 MOCK_METHOD2(AsyncRemove, | 44 MOCK_METHOD2(AsyncRemove, |
| 45 void(const cryptohome::Identification& cryptohome_id, | 45 void(const cryptohome::Identification& cryptohome_id, |
| 46 const AsyncMethodCallback& callback)); | 46 const AsyncMethodCallback& callback)); |
| 47 MOCK_METHOD3(RenameCryptohome, | 47 MOCK_METHOD3(RenameCryptohome, |
| 48 void(const cryptohome::Identification& id_from, | 48 void(const cryptohome::Identification& id_from, |
| 49 const cryptohome::Identification& id_to, | 49 const cryptohome::Identification& id_to, |
| 50 const ProtobufMethodCallback& callback)); | 50 const ProtobufMethodCallback& callback)); |
| 51 MOCK_METHOD2(GetAccountDiskUsage, | 51 MOCK_METHOD2(GetAccountDiskUsage, |
| 52 void(const cryptohome::Identification& account_id, | 52 void(const cryptohome::Identification& account_id, |
| 53 const ProtobufMethodCallback& callback)); | 53 const ProtobufMethodCallback& callback)); |
| 54 MOCK_METHOD1(GetFreeDiskSpace, |
| 55 void(const GetFreeDiskSpaceCallback& callback)); |
| 54 | 56 |
| 55 MOCK_METHOD1(GetSystemSalt, void(const GetSystemSaltCallback& callback)); | 57 MOCK_METHOD1(GetSystemSalt, void(const GetSystemSaltCallback& callback)); |
| 56 MOCK_METHOD2(GetSanitizedUsername, | 58 MOCK_METHOD2(GetSanitizedUsername, |
| 57 void(const cryptohome::Identification& cryptohome_id, | 59 void(const cryptohome::Identification& cryptohome_id, |
| 58 const StringDBusMethodCallback& callback)); | 60 const StringDBusMethodCallback& callback)); |
| 59 MOCK_METHOD1(BlockingGetSanitizedUsername, | 61 MOCK_METHOD1(BlockingGetSanitizedUsername, |
| 60 std::string(const cryptohome::Identification& cryptohome_id)); | 62 std::string(const cryptohome::Identification& cryptohome_id)); |
| 61 MOCK_METHOD4(AsyncMount, | 63 MOCK_METHOD4(AsyncMount, |
| 62 void(const cryptohome::Identification& cryptohome_id, | 64 void(const cryptohome::Identification& cryptohome_id, |
| 63 const std::string& key, | 65 const std::string& key, |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 const ProtobufMethodCallback& callback)); | 222 const ProtobufMethodCallback& callback)); |
| 221 MOCK_METHOD2( | 223 MOCK_METHOD2( |
| 222 FlushAndSignBootAttributes, | 224 FlushAndSignBootAttributes, |
| 223 void(const cryptohome::FlushAndSignBootAttributesRequest& request, | 225 void(const cryptohome::FlushAndSignBootAttributesRequest& request, |
| 224 const ProtobufMethodCallback& callback)); | 226 const ProtobufMethodCallback& callback)); |
| 225 }; | 227 }; |
| 226 | 228 |
| 227 } // namespace chromeos | 229 } // namespace chromeos |
| 228 | 230 |
| 229 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 231 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
| OLD | NEW |