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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 MOCK_METHOD2(GetBootAttribute, | 215 MOCK_METHOD2(GetBootAttribute, |
216 void(const cryptohome::GetBootAttributeRequest& request, | 216 void(const cryptohome::GetBootAttributeRequest& request, |
217 const ProtobufMethodCallback& callback)); | 217 const ProtobufMethodCallback& callback)); |
218 MOCK_METHOD2(SetBootAttribute, | 218 MOCK_METHOD2(SetBootAttribute, |
219 void(const cryptohome::SetBootAttributeRequest& request, | 219 void(const cryptohome::SetBootAttributeRequest& request, |
220 const ProtobufMethodCallback& callback)); | 220 const ProtobufMethodCallback& callback)); |
221 MOCK_METHOD2( | 221 MOCK_METHOD2( |
222 FlushAndSignBootAttributes, | 222 FlushAndSignBootAttributes, |
223 void(const cryptohome::FlushAndSignBootAttributesRequest& request, | 223 void(const cryptohome::FlushAndSignBootAttributesRequest& request, |
224 const ProtobufMethodCallback& callback)); | 224 const ProtobufMethodCallback& callback)); |
| 225 MOCK_METHOD2( |
| 226 RemoveFirmwareManagementParametersInTpm, |
| 227 void(const cryptohome::RemoveFirmwareManagementParametersRequest& request, |
| 228 const ProtobufMethodCallback& callback)); |
| 229 MOCK_METHOD2( |
| 230 SetFirmwareManagementParametersInTpm, |
| 231 void(const cryptohome::SetFirmwareManagementParametersRequest& request, |
| 232 const ProtobufMethodCallback& callback)); |
225 }; | 233 }; |
226 | 234 |
227 } // namespace chromeos | 235 } // namespace chromeos |
228 | 236 |
229 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 237 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
OLD | NEW |