| Index: chrome/browser/chromeos/cros/cryptohome_library.h
|
| diff --git a/chrome/browser/chromeos/cros/cryptohome_library.h b/chrome/browser/chromeos/cros/cryptohome_library.h
|
| index 547d2ab5325c0b80425be6d28356eb9696d60657..359cc09243e5cc4acfbf0a36036f54fb24338df0 100644
|
| --- a/chrome/browser/chromeos/cros/cryptohome_library.h
|
| +++ b/chrome/browser/chromeos/cros/cryptohome_library.h
|
| @@ -30,11 +30,6 @@ class CryptohomeLibrary {
|
|
|
| virtual void Init() = 0;
|
|
|
| - // Asks cryptohomed to try to find the cryptohome for |user_email| and then
|
| - // use |passhash| to unlock the key.
|
| - virtual bool CheckKey(const std::string& user_email,
|
| - const std::string& passhash) = 0;
|
| -
|
| // Asks cryptohomed to asynchronously try to find the cryptohome for
|
| // |user_email| and then use |passhash| to unlock the key.
|
| // Returns true if the attempt is successfully initiated.
|
| @@ -43,12 +38,6 @@ class CryptohomeLibrary {
|
| const std::string& passhash,
|
| Delegate* callback) = 0;
|
|
|
| - // Asks cryptohomed to try to find the cryptohome for |user_email| and then
|
| - // change from using |old_hash| to lock the key to using |new_hash|.
|
| - virtual bool MigrateKey(const std::string& user_email,
|
| - const std::string& old_hash,
|
| - const std::string& new_hash) = 0;
|
| -
|
| // Asks cryptohomed to asynchronously try to find the cryptohome for
|
| // |user_email| and then change from using |old_hash| to lock the
|
| // key to using |new_hash|.
|
| @@ -59,12 +48,6 @@ class CryptohomeLibrary {
|
| const std::string& new_hash,
|
| Delegate* callback) = 0;
|
|
|
| - // Asks cryptohomed to try to find the cryptohome for |user_email| and then
|
| - // mount it using |passhash| to unlock the key.
|
| - virtual bool Mount(const std::string& user_email,
|
| - const std::string& passhash,
|
| - int* error_code) = 0;
|
| -
|
| // Asks cryptohomed to asynchronously try to find the cryptohome for
|
| // |user_email| and then mount it using |passhash| to unlock the key.
|
| // |create_if_missing| controls whether or not we ask cryptohomed to
|
| @@ -79,22 +62,11 @@ class CryptohomeLibrary {
|
| const bool create_if_missing,
|
| Delegate* callback) = 0;
|
|
|
| - // Asks cryptohomed to mount a tmpfs for BWSI mode.
|
| - virtual bool MountForBwsi(int* error_code) = 0;
|
| -
|
| // Asks cryptohomed to asynchronously to mount a tmpfs for BWSI mode.
|
| // Returns true if the attempt is successfully initiated.
|
| // d->OnComplete() will be called with status info on completion.
|
| virtual bool AsyncMountForBwsi(Delegate* callback) = 0;
|
|
|
| - // Asks cryptohomed to unmount the currently mounted cryptohome.
|
| - // Returns false if the cryptohome could not be unmounted, true otherwise.
|
| - virtual bool Unmount() = 0;
|
| -
|
| - // Asks cryptohomed to try to find the cryptohome for |user_email| and then
|
| - // nuke it.
|
| - virtual bool Remove(const std::string& user_email) = 0;
|
| -
|
| // Asks cryptohomed to asynchronously try to find the cryptohome for
|
| // |user_email| and then nuke it.
|
| virtual bool AsyncRemove(const std::string& user_email,
|
| @@ -106,10 +78,6 @@ class CryptohomeLibrary {
|
| // Asks cryptohomed for the system salt.
|
| virtual CryptohomeBlob GetSystemSalt() = 0;
|
|
|
| - // Checks free disk space and if it falls below some minimum
|
| - // (cryptohome::kMinFreeSpace), performs cleanup.
|
| - virtual bool AsyncDoAutomaticFreeDiskSpaceControl(Delegate* callback) = 0;
|
| -
|
| // Passes cryptohomed the owner user. It is used to prevent
|
| // deletion of the owner in low disk space cleanup (see above).
|
| virtual bool AsyncSetOwnerUser(const std::string& username,
|
| @@ -144,10 +112,8 @@ class CryptohomeLibrary {
|
| std::string* value) = 0;
|
| virtual bool InstallAttributesSet(const std::string& name,
|
| const std::string& value) = 0;
|
| - virtual int InstallAttributesCount() = 0;
|
| virtual bool InstallAttributesFinalize() = 0;
|
| virtual bool InstallAttributesIsReady() = 0;
|
| - virtual bool InstallAttributesIsSecure() = 0;
|
| virtual bool InstallAttributesIsInvalid() = 0;
|
| virtual bool InstallAttributesIsFirstInstall() = 0;
|
|
|
|
|