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

Unified Diff: chromeos/dbus/cryptohome_client.h

Issue 10382086: Determine whether user is ephemeral when coming back from a crash (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 months 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
Index: chromeos/dbus/cryptohome_client.h
diff --git a/chromeos/dbus/cryptohome_client.h b/chromeos/dbus/cryptohome_client.h
index a152e4463060f4a4b6706a021c59be887edcf102..5daa4b9f35b8d9662f16dc334bc581a57eafbc94 100644
--- a/chromeos/dbus/cryptohome_client.h
+++ b/chromeos/dbus/cryptohome_client.h
@@ -61,6 +61,12 @@ class CHROMEOS_EXPORT CryptohomeClient {
// This method blocks until the call returns.
virtual bool IsMounted(bool* is_mounted) = 0;
+ // Calls IsMountedForUser and returns true when the call succeeds.
hashimoto 2012/05/10 07:41:55 Please make this method asynchronous, it should be
+ // This method blocks until the call returns.
+ virtual bool IsMountedForUser(const std::string& username,
+ bool* is_mounted,
+ bool* is_ephemeral_mount) = 0;
+
// Calls Unmount method and returns true when the call succeeds.
// This method blocks until the call returns.
virtual bool Unmount(bool* success) = 0;

Powered by Google App Engine
This is Rietveld 408576698