| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FAKE_CRYPTOHOME_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 const cryptohome::RemoveKeyRequest& request, | 190 const cryptohome::RemoveKeyRequest& request, |
| 191 const ProtobufMethodCallback& callback) override; | 191 const ProtobufMethodCallback& callback) override; |
| 192 void GetBootAttribute(const cryptohome::GetBootAttributeRequest& request, | 192 void GetBootAttribute(const cryptohome::GetBootAttributeRequest& request, |
| 193 const ProtobufMethodCallback& callback) override; | 193 const ProtobufMethodCallback& callback) override; |
| 194 void SetBootAttribute(const cryptohome::SetBootAttributeRequest& request, | 194 void SetBootAttribute(const cryptohome::SetBootAttributeRequest& request, |
| 195 const ProtobufMethodCallback& callback) override; | 195 const ProtobufMethodCallback& callback) override; |
| 196 void FlushAndSignBootAttributes( | 196 void FlushAndSignBootAttributes( |
| 197 const cryptohome::FlushAndSignBootAttributesRequest& request, | 197 const cryptohome::FlushAndSignBootAttributesRequest& request, |
| 198 const ProtobufMethodCallback& callback) override; | 198 const ProtobufMethodCallback& callback) override; |
| 199 void MigrateToDircrypto(const cryptohome::Identification& cryptohome_id, | 199 void MigrateToDircrypto(const cryptohome::Identification& cryptohome_id, |
| 200 const cryptohome::AuthorizationRequest& auth, | |
| 201 const VoidDBusMethodCallback& callback) override; | 200 const VoidDBusMethodCallback& callback) override; |
| 202 void SetDircryptoMigrationProgressHandler( | 201 void SetDircryptoMigrationProgressHandler( |
| 203 const DircryptoMigrationProgessHandler& handler) override; | 202 const DircryptoMigrationProgessHandler& handler) override; |
| 204 void RemoveFirmwareManagementParametersFromTpm( | 203 void RemoveFirmwareManagementParametersFromTpm( |
| 205 const cryptohome::RemoveFirmwareManagementParametersRequest& request, | 204 const cryptohome::RemoveFirmwareManagementParametersRequest& request, |
| 206 const ProtobufMethodCallback& callback) override; | 205 const ProtobufMethodCallback& callback) override; |
| 207 void SetFirmwareManagementParametersInTpm( | 206 void SetFirmwareManagementParametersInTpm( |
| 208 const cryptohome::SetFirmwareManagementParametersRequest& request, | 207 const cryptohome::SetFirmwareManagementParametersRequest& request, |
| 209 const ProtobufMethodCallback& callback) override; | 208 const ProtobufMethodCallback& callback) override; |
| 210 void NeedsDircryptoMigration(const cryptohome::Identification& cryptohome_id, | 209 void NeedsDircryptoMigration(const cryptohome::Identification& cryptohome_id, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 bool needs_dircrypto_migration_ = false; | 279 bool needs_dircrypto_migration_ = false; |
| 281 | 280 |
| 282 base::WeakPtrFactory<FakeCryptohomeClient> weak_ptr_factory_; | 281 base::WeakPtrFactory<FakeCryptohomeClient> weak_ptr_factory_; |
| 283 | 282 |
| 284 DISALLOW_COPY_AND_ASSIGN(FakeCryptohomeClient); | 283 DISALLOW_COPY_AND_ASSIGN(FakeCryptohomeClient); |
| 285 }; | 284 }; |
| 286 | 285 |
| 287 } // namespace chromeos | 286 } // namespace chromeos |
| 288 | 287 |
| 289 #endif // CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ | 288 #endif // CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ |
| OLD | NEW |