| 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(MigrateToDircrypto, |
| 226 void(const cryptohome::Identification& cryptohome_id, |
| 227 const cryptohome::AuthorizationRequest& auth, |
| 228 const VoidDBusMethodCallback& callback)); |
| 229 MOCK_METHOD1(SetDircryptoMigrationProgressHandler, |
| 230 void(const DircryptoMigrationProgessHandler& handler)); |
| 225 }; | 231 }; |
| 226 | 232 |
| 227 } // namespace chromeos | 233 } // namespace chromeos |
| 228 | 234 |
| 229 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 235 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
| OLD | NEW |