Chromium Code Reviews| 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_CRYPTOHOME_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_ | 6 #define CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 567 // fails after any user, publuc, or guest session starts. | 567 // fails after any user, publuc, or guest session starts. |
| 568 virtual void FlushAndSignBootAttributes( | 568 virtual void FlushAndSignBootAttributes( |
| 569 const cryptohome::FlushAndSignBootAttributesRequest& request, | 569 const cryptohome::FlushAndSignBootAttributesRequest& request, |
| 570 const ProtobufMethodCallback& callback) = 0; | 570 const ProtobufMethodCallback& callback) = 0; |
| 571 | 571 |
| 572 // Asynchronously calls MigrateToDircrypto method. It tells cryptohomed to | 572 // Asynchronously calls MigrateToDircrypto method. It tells cryptohomed to |
| 573 // start migration, and is immediately called back by |callback|. The actual | 573 // start migration, and is immediately called back by |callback|. The actual |
| 574 // result response is done via DircryptoMigrationProgress callback with its | 574 // result response is done via DircryptoMigrationProgress callback with its |
| 575 // status flag indicating the completion. | 575 // status flag indicating the completion. |
| 576 // MigrateToDircrypto attempts to migrate the home dir using given | 576 // MigrateToDircrypto attempts to migrate the home dir using given |
| 577 // authorization to the new "dircrypto" encryption. | 577 // authorization to the new "dircrypto" encryption. |
|
hashimoto
2017/04/17 07:01:12
nit: "using given authorization" is no longer rele
fukino
2017/04/17 07:05:15
Oops! Done.
| |
| 578 virtual void MigrateToDircrypto( | 578 virtual void MigrateToDircrypto( |
| 579 const cryptohome::Identification& cryptohome_id, | 579 const cryptohome::Identification& cryptohome_id, |
| 580 const cryptohome::AuthorizationRequest& auth, | |
| 581 const VoidDBusMethodCallback& callback) = 0; | 580 const VoidDBusMethodCallback& callback) = 0; |
| 582 | 581 |
| 583 // Asynchronously calls RemoveFirmwareManagementParameters method. |callback| | 582 // Asynchronously calls RemoveFirmwareManagementParameters method. |callback| |
| 584 // is called after method call, and with reply protobuf. | 583 // is called after method call, and with reply protobuf. |
| 585 virtual void RemoveFirmwareManagementParametersFromTpm( | 584 virtual void RemoveFirmwareManagementParametersFromTpm( |
| 586 const cryptohome::RemoveFirmwareManagementParametersRequest& request, | 585 const cryptohome::RemoveFirmwareManagementParametersRequest& request, |
| 587 const ProtobufMethodCallback& callback) = 0; | 586 const ProtobufMethodCallback& callback) = 0; |
| 588 | 587 |
| 589 // Asynchronously calls SetFirmwareManagementParameters method. |callback| | 588 // Asynchronously calls SetFirmwareManagementParameters method. |callback| |
| 590 // is called after method call, and with reply protobuf. |request| contains | 589 // is called after method call, and with reply protobuf. |request| contains |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 604 // Create() should be used instead. | 603 // Create() should be used instead. |
| 605 CryptohomeClient(); | 604 CryptohomeClient(); |
| 606 | 605 |
| 607 private: | 606 private: |
| 608 DISALLOW_COPY_AND_ASSIGN(CryptohomeClient); | 607 DISALLOW_COPY_AND_ASSIGN(CryptohomeClient); |
| 609 }; | 608 }; |
| 610 | 609 |
| 611 } // namespace chromeos | 610 } // namespace chromeos |
| 612 | 611 |
| 613 #endif // CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_ | 612 #endif // CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_ |
| OLD | NEW |