aboutsummaryrefslogtreecommitdiffstats
path: root/brillo/cryptohome.h
diff options
context:
space:
mode:
Diffstat (limited to 'brillo/cryptohome.h')
-rw-r--r--brillo/cryptohome.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/brillo/cryptohome.h b/brillo/cryptohome.h
index caca31b..798d3a0 100644
--- a/brillo/cryptohome.h
+++ b/brillo/cryptohome.h
@@ -42,6 +42,12 @@ BRILLO_EXPORT base::FilePath GetRootPath(const std::string& username);
BRILLO_EXPORT base::FilePath GetDaemonPath(const std::string& username,
const std::string& daemon);
+// Returns the path at which the daemon |daemon| should store per-user data
+// when the user's home was mounted with mount_hidden.
+BRILLO_EXPORT base::FilePath GetDaemonPathForHiddenUserHome(
+ const std::string& username,
+ const std::string& daemon);
+
// Checks whether |sanitized| has the format of a sanitized username.
BRILLO_EXPORT bool IsSanitizedUserName(const std::string& sanitized);