| 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 30 matching lines...) Expand all Loading... |
| 41 const std::string& from_key, | 41 const std::string& from_key, |
| 42 const std::string& to_key, | 42 const std::string& to_key, |
| 43 const AsyncMethodCallback& callback)); | 43 const AsyncMethodCallback& callback)); |
| 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, |
| 52 void(const cryptohome::Identification& account_id, |
| 53 const ProtobufMethodCallback& callback)); |
| 51 | 54 |
| 52 MOCK_METHOD1(GetSystemSalt, void(const GetSystemSaltCallback& callback)); | 55 MOCK_METHOD1(GetSystemSalt, void(const GetSystemSaltCallback& callback)); |
| 53 MOCK_METHOD2(GetSanitizedUsername, | 56 MOCK_METHOD2(GetSanitizedUsername, |
| 54 void(const cryptohome::Identification& cryptohome_id, | 57 void(const cryptohome::Identification& cryptohome_id, |
| 55 const StringDBusMethodCallback& callback)); | 58 const StringDBusMethodCallback& callback)); |
| 56 MOCK_METHOD1(BlockingGetSanitizedUsername, | 59 MOCK_METHOD1(BlockingGetSanitizedUsername, |
| 57 std::string(const cryptohome::Identification& cryptohome_id)); | 60 std::string(const cryptohome::Identification& cryptohome_id)); |
| 58 MOCK_METHOD4(AsyncMount, | 61 MOCK_METHOD4(AsyncMount, |
| 59 void(const cryptohome::Identification& cryptohome_id, | 62 void(const cryptohome::Identification& cryptohome_id, |
| 60 const std::string& key, | 63 const std::string& key, |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 const ProtobufMethodCallback& callback)); | 220 const ProtobufMethodCallback& callback)); |
| 218 MOCK_METHOD2( | 221 MOCK_METHOD2( |
| 219 FlushAndSignBootAttributes, | 222 FlushAndSignBootAttributes, |
| 220 void(const cryptohome::FlushAndSignBootAttributesRequest& request, | 223 void(const cryptohome::FlushAndSignBootAttributesRequest& request, |
| 221 const ProtobufMethodCallback& callback)); | 224 const ProtobufMethodCallback& callback)); |
| 222 }; | 225 }; |
| 223 | 226 |
| 224 } // namespace chromeos | 227 } // namespace chromeos |
| 225 | 228 |
| 226 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 229 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
| OLD | NEW |