Index: chromeos/dbus/cryptohome_client.h |
diff --git a/chromeos/dbus/cryptohome_client.h b/chromeos/dbus/cryptohome_client.h |
index 0ace6508a93cdc40fb141e40b58856a28b422ccf..9d94d46cb28212996cbbcc720dfad92f91f7a6a0 100644 |
--- a/chromeos/dbus/cryptohome_client.h |
+++ b/chromeos/dbus/cryptohome_client.h |
@@ -90,6 +90,12 @@ class CHROMEOS_EXPORT CryptohomeClient { |
// The original content of |salt| is lost. |
virtual bool GetSystemSalt(std::vector<uint8>* salt) = 0; |
+ // Calls GetSanitizedUsername method. |callback| is called after the method |
+ // call succeeds. |
+ virtual void GetSanitizedUsername( |
+ const std::string& username, |
+ const StringDBusMethodCallback& callback) = 0; |
+ |
// Calls the AsyncMount method to asynchronously mount the cryptohome for |
// |username|, using |key| to unlock it. For supported |flags|, see the |
// documentation of AsyncMethodCaller::AsyncMount(). |