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

Unified Diff: chrome/browser/chromeos/cros/cryptohome_library.h

Issue 8602006: chromeos: Remove unused code from CryptohomeLibrary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/cryptohome_library.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/cryptohome_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698