Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: chromeos/dbus/cryptohome_client.h

Issue 2827203002: cros: Mount the existing eCryptfs vault to start migration. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/cryptohome/mock_homedir_methods.h ('k') | chromeos/dbus/cryptohome_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 // available, and have them signed by a special TPM key. This method always 566 // available, and have them signed by a special TPM key. This method always
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 to the new "dircrypto"
577 // authorization to the new "dircrypto" encryption. 577 // encryption.
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
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_
OLDNEW
« no previous file with comments | « chromeos/cryptohome/mock_homedir_methods.h ('k') | chromeos/dbus/cryptohome_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698