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_METHOD3(AsyncTpmUpdateFirmwareManagementParameters, |
| 226 void(const std::string& method_name, |
| 227 const google::protobuf::MessageLite& request, |
| 228 const ProtobufMethodCallback& callback)); |
225 }; | 229 }; |
226 | 230 |
227 } // namespace chromeos | 231 } // namespace chromeos |
228 | 232 |
229 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 233 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
OLD | NEW |