summaryrefslogtreecommitdiffstats
path: root/chromeos/cryptohome/async_method_caller.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/cryptohome/async_method_caller.h')
-rw-r--r--chromeos/cryptohome/async_method_caller.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chromeos/cryptohome/async_method_caller.h b/chromeos/cryptohome/async_method_caller.h
index c6956ff..78ff687 100644
--- a/chromeos/cryptohome/async_method_caller.h
+++ b/chromeos/cryptohome/async_method_caller.h
@@ -110,6 +110,13 @@ class CHROMEOS_EXPORT AsyncMethodCaller {
const std::string& pca_response,
const DataCallback& callback) = 0;
+ // Asks cryptohome to asynchronously retrieve a string associated with given
+ // |user| that would be used in mount path instead of |user|.
+ // On success the data is sent to |callback|.
+ virtual void AsyncGetSanitizedUsername(
+ const std::string& user,
+ const DataCallback& callback) = 0;
+
// Creates the global AsyncMethodCaller instance.
static void Initialize();